<?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 exclude using tar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094375#M725856</link>
    <description>I am looking to tar up a file system but exclude all the mount points underneath.  I have tried doing this using find and xargs but not all the directories are ending up in my tar ball.  i.e. &lt;BR /&gt;&lt;BR /&gt;find /oracle/DEX -xdev ! -type M -print | xargs  tar -crvf /oracle/DEX/sapdata73/oracleDEX.tar</description>
    <pubDate>Mon, 25 Feb 2008 18:53:23 GMT</pubDate>
    <dc:creator>Scott McKevitt</dc:creator>
    <dc:date>2008-02-25T18:53:23Z</dc:date>
    <item>
      <title>exclude using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094375#M725856</link>
      <description>I am looking to tar up a file system but exclude all the mount points underneath.  I have tried doing this using find and xargs but not all the directories are ending up in my tar ball.  i.e. &lt;BR /&gt;&lt;BR /&gt;find /oracle/DEX -xdev ! -type M -print | xargs  tar -crvf /oracle/DEX/sapdata73/oracleDEX.tar</description>
      <pubDate>Mon, 25 Feb 2008 18:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094375#M725856</guid>
      <dc:creator>Scott McKevitt</dc:creator>
      <dc:date>2008-02-25T18:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: exclude using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094376#M725857</link>
      <description>It's hard to tell from your description, bu I'll bet you find the "missing" directories if you do: &lt;BR /&gt;&lt;BR /&gt;find /oracle/DEX -type M&lt;BR /&gt;&lt;BR /&gt;I think what you really want is:&lt;BR /&gt;&lt;BR /&gt;find /oracle/DEX -xdev -print .....&lt;BR /&gt;&lt;BR /&gt;the xdev should list the directory that is the mountpoint, but not follow it, the -M won't do either (list or follow).&lt;BR /&gt;&lt;BR /&gt;Run the find w/o the tar and examine the results &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Feb 2008 19:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094376#M725857</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-02-25T19:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: exclude using tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094377#M725858</link>
      <description>The solution I was looking for was to use the pax command which would allow me to exclude mount points</description>
      <pubDate>Mon, 25 Feb 2008 19:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-using-tar/m-p/5094377#M725858</guid>
      <dc:creator>Scott McKevitt</dc:creator>
      <dc:date>2008-02-25T19:54:00Z</dc:date>
    </item>
  </channel>
</rss>

