<?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: excluding files from a list in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668353#M677787</link>
    <description>&amp;gt;there is no -X option on HP.&lt;BR /&gt;&lt;BR /&gt;Instead of tar, on 11.31 you can use pax:&lt;BR /&gt;pax -x pax -o graph=graph_file</description>
    <pubDate>Sat, 31 Jul 2010 06:59:36 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-07-31T06:59:36Z</dc:date>
    <item>
      <title>excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668347#M677781</link>
      <description>i have two files &lt;BR /&gt;file A- one with the list of the files to be tarred and the file B -list of the files to be excluded from A before tarring.&lt;BR /&gt;&lt;BR /&gt;Can any one help me on how to pass my exclude file list while tarring?&lt;BR /&gt;&lt;BR /&gt;I know that linux has -X option but i am using HP systems and there is no -X option on HP.&lt;BR /&gt;&lt;BR /&gt;Any help would be highly appreciated.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jul 2010 12:51:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668347#M677781</guid>
      <dc:creator>puth</dc:creator>
      <dc:date>2010-07-30T12:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668348#M677782</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Since you have an include and an exclude list in two files, construct a third file to pass along to 'tar'.  The following assumes that the two input files are sorted.  The output will be only lines from the first file that are not in the second file:&lt;BR /&gt;&lt;BR /&gt;# comm -23 file1 file2 &amp;gt; file3&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 30 Jul 2010 13:04:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668348#M677782</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-07-30T13:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668349#M677783</link>
      <description>Thanks James for the reply..Your answer has helped me to an extend...&lt;BR /&gt;&lt;BR /&gt;comm is removing the files in the file2 list but not the directories.Is the any possible way to remove the directories also?</description>
      <pubDate>Fri, 30 Jul 2010 13:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668349#M677783</guid>
      <dc:creator>puth</dc:creator>
      <dc:date>2010-07-30T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668350#M677784</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; comm is removing the files in the file2 list but not the directories.Is the any possible way to remove the directories also?&lt;BR /&gt;&lt;BR /&gt;I think you mean a situation like this:&lt;BR /&gt;&lt;BR /&gt;# cat f1&lt;BR /&gt;/path/to&lt;BR /&gt;/path/to/somefile&lt;BR /&gt;/path/to/someotherfile&lt;BR /&gt;file1&lt;BR /&gt;file2&lt;BR /&gt;file3&lt;BR /&gt;file4&lt;BR /&gt;file5&lt;BR /&gt;file6&lt;BR /&gt;&lt;BR /&gt;# cat f2&lt;BR /&gt;/path/to&lt;BR /&gt;file1&lt;BR /&gt;file3&lt;BR /&gt;file5&lt;BR /&gt;&lt;BR /&gt;...and then:&lt;BR /&gt;&lt;BR /&gt;# grep -vF -f f2 f1&lt;BR /&gt;file2&lt;BR /&gt;file4&lt;BR /&gt;file6&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 30 Jul 2010 13:58:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668350#M677784</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-07-30T13:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668351#M677785</link>
      <description>Yes</description>
      <pubDate>Fri, 30 Jul 2010 14:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668351#M677785</guid>
      <dc:creator>puth</dc:creator>
      <dc:date>2010-07-30T14:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668352#M677786</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] there is no -X option on HP.&lt;BR /&gt;&lt;BR /&gt;There is, if you install GNU "tar".&lt;BR /&gt;&lt;BR /&gt;      &lt;A href="http://www.gnu.org/software/tar/" target="_blank"&gt;http://www.gnu.org/software/tar/&lt;/A&gt;</description>
      <pubDate>Fri, 30 Jul 2010 14:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668352#M677786</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-30T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: excluding files from a list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668353#M677787</link>
      <description>&amp;gt;there is no -X option on HP.&lt;BR /&gt;&lt;BR /&gt;Instead of tar, on 11.31 you can use pax:&lt;BR /&gt;pax -x pax -o graph=graph_file</description>
      <pubDate>Sat, 31 Jul 2010 06:59:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/excluding-files-from-a-list/m-p/4668353#M677787</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-07-31T06:59:36Z</dc:date>
    </item>
  </channel>
</rss>

