<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889656#M281248</link>
    <description>Hi,&lt;BR /&gt;Peter Nikita gave you the solution...&lt;BR /&gt;I do the same:&lt;BR /&gt;Copy the archive to&lt;BR /&gt;the relative location in&lt;BR /&gt;which you wish to untar it.&lt;BR /&gt;&lt;BR /&gt;Then, execute the following&lt;BR /&gt;command:&lt;BR /&gt;&lt;BR /&gt;pax -r -s ',^/,,' -f file.tar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
    <pubDate>Wed, 01 Nov 2006 04:12:30 GMT</pubDate>
    <dc:creator>Victor BERRIDGE</dc:creator>
    <dc:date>2006-11-01T04:12:30Z</dc:date>
    <item>
      <title>tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889651#M281243</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i have a tar file xx.file it contains files with absolute path.&lt;BR /&gt;&lt;BR /&gt;/Arr/AA/BB/file1&lt;BR /&gt;/Arr/AA/BB/file2&lt;BR /&gt;/Arr/AA/BB/file3&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;I need to untar the in a different path&lt;BR /&gt;/XX/YY/TT&lt;BR /&gt;&lt;BR /&gt;how can I have all the files into /XX/YY/TT ?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2006 04:37:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889651#M281243</guid>
      <dc:creator>angelo_11</dc:creator>
      <dc:date>2006-10-31T04:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889652#M281244</link>
      <description>Angelo,&lt;BR /&gt;you can't with standard tar. However you can use gnu tar (gtar) or pax with -s option.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.15.1/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.15.1/&lt;/A&gt;</description>
      <pubDate>Tue, 31 Oct 2006 04:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889652#M281244</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-10-31T04:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889653#M281245</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use 'pax' to read back the tarfile content under a different path.&lt;BR /&gt;BTW., it is not a good idea anyway, to store absolute pathnames in a tarfile.&lt;BR /&gt;&lt;BR /&gt;cd resultdir&lt;BR /&gt;pax -r -s:/Arr/AA/BB:XX/YY/TT: /pathname/xx.tar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 31 Oct 2006 04:57:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889653#M281245</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-10-31T04:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889654#M281246</link>
      <description>On Linux, GNU tar will remove leading '/'.&lt;BR /&gt;&lt;BR /&gt;#tar xf mw.tar&lt;BR /&gt;tar: Removing leading `/' from member names&lt;BR /&gt;&lt;BR /&gt;Don't be root.&lt;BR /&gt;There is a special option for not removing leading '.' (-P, check manpage).&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;P.S. Don't ask the same question twice please...</description>
      <pubDate>Wed, 01 Nov 2006 01:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889654#M281246</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2006-11-01T01:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889655#M281247</link>
      <description>Angelo,&lt;BR /&gt;can you please update. Is this problem answered ?&lt;BR /&gt;For earlier similar problems please see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17465" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=17465&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=132348" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=132348&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=263946" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=263946&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If the answers were useful, please allocate points as per: &lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Nov 2006 04:05:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889655#M281247</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-01T04:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889656#M281248</link>
      <description>Hi,&lt;BR /&gt;Peter Nikita gave you the solution...&lt;BR /&gt;I do the same:&lt;BR /&gt;Copy the archive to&lt;BR /&gt;the relative location in&lt;BR /&gt;which you wish to untar it.&lt;BR /&gt;&lt;BR /&gt;Then, execute the following&lt;BR /&gt;command:&lt;BR /&gt;&lt;BR /&gt;pax -r -s ',^/,,' -f file.tar &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 01 Nov 2006 04:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3889656#M281248</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-11-01T04:12:30Z</dc:date>
    </item>
  </channel>
</rss>

