<?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: tar restore path in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351318#M192525</link>
    <description>I don't know that the trailing / matters. I never use one.</description>
    <pubDate>Fri, 06 Aug 2004 09:09:33 GMT</pubDate>
    <dc:creator>Jeff_Traigle</dc:creator>
    <dc:date>2004-08-06T09:09:33Z</dc:date>
    <item>
      <title>tar restore path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351314#M192521</link>
      <description>I know I should know this...&lt;BR /&gt;&lt;BR /&gt;I have a tar that has multiple paths on it and only want to restore a single path.&lt;BR /&gt;&lt;BR /&gt;path1/&lt;BR /&gt;path1/files&lt;BR /&gt;path1/path1a&lt;BR /&gt;path1/path1a/files&lt;BR /&gt;path2/&lt;BR /&gt;path2/files&lt;BR /&gt;path2/path2a/&lt;BR /&gt;etc...etc.&lt;BR /&gt;&lt;BR /&gt;I verified the tape (-tvf) and output to a text file, then grep'd the path I wanted and wrote to a second list.&lt;BR /&gt;&lt;BR /&gt;I want to restore everything under /path2. Should I use the second list I wrote:&lt;BR /&gt;&lt;BR /&gt;tar -xvf /dev/rmt/0m 'cat newlist'&lt;BR /&gt;&lt;BR /&gt;or just restore using the path&lt;BR /&gt;&lt;BR /&gt;tar -xvf /dev/rmt/0m path2/*&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Aug 2004 09:00:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351314#M192521</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2004-08-06T09:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: tar restore path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351315#M192522</link>
      <description>If you want everything under path2, just do the follwoing:&lt;BR /&gt;&lt;BR /&gt;tar xvf /dev/rmt/0m path2</description>
      <pubDate>Fri, 06 Aug 2004 09:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351315#M192522</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-08-06T09:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: tar restore path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351316#M192523</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Option 1 is best&lt;BR /&gt;&lt;BR /&gt;Option 2 will only restore files it finds in&lt;BR /&gt;path2&lt;BR /&gt;&lt;BR /&gt;Using path2 only should also work&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Fri, 06 Aug 2004 09:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351316#M192523</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-08-06T09:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar restore path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351317#M192524</link>
      <description>use path2 without the trailing "/"?</description>
      <pubDate>Fri, 06 Aug 2004 09:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351317#M192524</guid>
      <dc:creator>Kim Kendall</dc:creator>
      <dc:date>2004-08-06T09:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: tar restore path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351318#M192525</link>
      <description>I don't know that the trailing / matters. I never use one.</description>
      <pubDate>Fri, 06 Aug 2004 09:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-restore-path/m-p/3351318#M192525</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-08-06T09:09:33Z</dc:date>
    </item>
  </channel>
</rss>

