<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Another tar question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641565#M43821</link>
    <description>Hi Kelly,&lt;BR /&gt;&lt;BR /&gt;I think that the best way is using a find in order to obtain an intermediate file and then in this file exclude the path's that you don't want to backup, and us it as input for tar.&lt;BR /&gt;&lt;BR /&gt;I don't find -X option in man tar too.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
    <pubDate>Wed, 09 Jan 2002 17:34:31 GMT</pubDate>
    <dc:creator>Justo Exposito</dc:creator>
    <dc:date>2002-01-09T17:34:31Z</dc:date>
    <item>
      <title>Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641560#M43816</link>
      <description>Hi all,&lt;BR /&gt;I need to make a tar backup and exclude a number of files. I know the X option will do this but is not working properly for me.&lt;BR /&gt;Could some helpful soul let me know the best syntax for excluding files from a tar backup?&lt;BR /&gt;THanks,&lt;BR /&gt;Kel</description>
      <pubDate>Wed, 09 Jan 2002 17:15:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641560#M43816</guid>
      <dc:creator>Kelli Ward</dc:creator>
      <dc:date>2002-01-09T17:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641561#M43817</link>
      <description>-X option in tar?  Can't find it in HP-UX man pages, perhaps it is something found in Solaris. You'll probably have to use regular expressions to exclude certain file patterns. Otherwise, cpio and pax accept stdin file lists, and fbackup has options to include and exclude files with multiple specifications allowed.</description>
      <pubDate>Wed, 09 Jan 2002 17:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641561#M43817</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-01-09T17:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641562#M43818</link>
      <description>Kel,&lt;BR /&gt;&lt;BR /&gt;Are you sure about that -X option for tar?  I am sure that exists.  If you have to use tar you may need to pipe it through find.</description>
      <pubDate>Wed, 09 Jan 2002 17:29:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641562#M43818</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2002-01-09T17:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641563#M43819</link>
      <description>From SUN Solaris 2.8 tar manual page&lt;BR /&gt;X     Exclude. Use the exclude-file argument as a file  containing  a  list  of relative path names for files (or directories) to be  excluded  from  the  tarfile  when using the functions c, x, or t. Be careful of trailing white spaces. Also beware  of  leading  white  spaces,since,  for each line in the excluded file, the entire line (apart from the newline) will be  used  to  match against the initial string of files to exclude. Multiple X arguments may be used, with one exclude-file per argument.  In  the  case  where included files (see -I include-file option) are also specified, the  excluded files  take  precedence  over all included files. If a file is specified in both  the  exclude-file  and  the include-file  (or  on  the  command  line), it will be excluded.&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2002 17:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641563#M43819</guid>
      <dc:creator>Thom Cornwell</dc:creator>
      <dc:date>2002-01-09T17:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641564#M43820</link>
      <description>In HP-UX, you probably can do something like this ..&lt;BR /&gt;&lt;BR /&gt;$ cd dirA&lt;BR /&gt;$ ls|grep -v aug|xargs tar cvf /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;The above will exclude filename with "aug" string in it.</description>
      <pubDate>Wed, 09 Jan 2002 17:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641564#M43820</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-09T17:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641565#M43821</link>
      <description>Hi Kelly,&lt;BR /&gt;&lt;BR /&gt;I think that the best way is using a find in order to obtain an intermediate file and then in this file exclude the path's that you don't want to backup, and us it as input for tar.&lt;BR /&gt;&lt;BR /&gt;I don't find -X option in man tar too.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Justo.</description>
      <pubDate>Wed, 09 Jan 2002 17:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641565#M43821</guid>
      <dc:creator>Justo Exposito</dc:creator>
      <dc:date>2002-01-09T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641566#M43822</link>
      <description>Hi Kelli,&lt;BR /&gt;&lt;BR /&gt;I'm not so sure, but i believe tat does not support good file selection for backup. You should try fbackup with the graph option. Here are a few link from hp docs site on the tar / fbackup usage and the backup utilities available&lt;BR /&gt;&lt;BR /&gt;tar &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90680/B2355-90680_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90680/00/03/338-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90680/00/03/338-toc.html&amp;amp;searchterms=tar&amp;amp;queryid=20020109-093701" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90680/B2355-90680_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90680/00/03/338-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90680/00/03/338-toc.html&amp;amp;searchterms=tar&amp;amp;queryid=20020109-093701&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;fbackup&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90681/00/00/78-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90681/00/00/78-toc.html&amp;amp;searchterms=fbackup&amp;amp;queryid=20020109-094036" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90681/00/00/78-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90681/00/00/78-toc.html&amp;amp;searchterms=fbackup&amp;amp;queryid=20020109-094036&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;backup utilities&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/51-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/51-toc.html&amp;amp;searchterms=tar%20fbackup&amp;amp;queryid=20020109-093423" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/51-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/51-toc.html&amp;amp;searchterms=tar%20fbackup&amp;amp;queryid=20020109-093423&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jan 2002 17:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641566#M43822</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-09T17:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641567#M43823</link>
      <description>About a bazillion years ago, there was a third party product called ctar that permitted an 'exclude' flag.  I don't know if it has been ported to HP/ux, but I suspect so.  The nice people at unitrends: &lt;A href="http://www.unitrends.com" target="_blank"&gt;http://www.unitrends.com&lt;/A&gt; sell it.  It worked pretty good for some other flavors of Unix that I've used.  &lt;BR /&gt;&lt;BR /&gt;Barring that, you might want to try a hint I got here a couple of weeks ago. Assuming that you want to create "destfile" and the text file with the filenames in it is "filelist" the command:&lt;BR /&gt;tar cvf destfile `cat filelist` &lt;BR /&gt;works pretty well also.</description>
      <pubDate>Wed, 09 Jan 2002 17:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641567#M43823</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2002-01-09T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641568#M43824</link>
      <description>You guys may be right, I've been playing with a few versions of Unix lately and I may be mixing up my versions.&lt;BR /&gt;What would be the best HP-UX way to exclude files from a tar backup?&lt;BR /&gt;Syntax would be great.&lt;BR /&gt;Thanks,&lt;BR /&gt;Kel</description>
      <pubDate>Wed, 09 Jan 2002 17:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641568#M43824</guid>
      <dc:creator>Kelli Ward</dc:creator>
      <dc:date>2002-01-09T17:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641569#M43825</link>
      <description>maybe something like this&lt;BR /&gt;&lt;BR /&gt;tar -cvf tarfile `find . -print | egrep -vx 'file1|file2|..|fileX'</description>
      <pubDate>Wed, 09 Jan 2002 17:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641569#M43825</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2002-01-09T17:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Another tar question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641570#M43826</link>
      <description>Kelli,&lt;BR /&gt;&lt;BR /&gt;You can get GNU's tar, which will do as you ask:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and documentation from GNU:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/manual/tar/html_mono/tar.html#SEC39" target="_blank"&gt;http://www.gnu.org/manual/tar/html_mono/tar.html#SEC39&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 09 Jan 2002 18:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/another-tar-question/m-p/2641570#M43826</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-01-09T18:50:32Z</dc:date>
    </item>
  </channel>
</rss>

