<?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 command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082481#M309239</link>
    <description>If the contents are absolute paths, you need to use pax(1) -s option to rename them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how can I tar the files without using relative path?&lt;BR /&gt;&lt;BR /&gt;You already did.  Or did you mean untar?&lt;BR /&gt;In that case you need to use pax(1).&lt;BR /&gt;$ cd /opt&lt;BR /&gt;$ pax -r -f interface.tar -s:/home/user1/::&lt;BR /&gt;&lt;BR /&gt;This will create /opt/files and /opt/scripts&lt;BR /&gt;&lt;BR /&gt;&amp;gt;WK: You may not be able to untar in /opt.&lt;BR /&gt;&lt;BR /&gt;Sure you can.  Unless you mean you have to unpax them.  :-)&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 07 Oct 2007 23:26:38 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-10-07T23:26:38Z</dc:date>
    <item>
      <title>tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082478#M309236</link>
      <description>hi&lt;BR /&gt;i have a tar file files.tar&lt;BR /&gt;the contents is:&lt;BR /&gt;/home/user1/files/file1/*.*&lt;BR /&gt;/home/user1/scripts/scrpts/*.*&lt;BR /&gt;...........&lt;BR /&gt;...........&lt;BR /&gt;&lt;BR /&gt;i want to untar the files under /opt &lt;BR /&gt;how can i untar the files ..&lt;BR /&gt;i'm using &lt;BR /&gt;tar -xvf interface.tar &lt;BR /&gt;&lt;BR /&gt;but it is being un tar the files under /home filesystem, i want they be untar under /opt fs&lt;BR /&gt;how can i do that?&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Oct 2007 22:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082478#M309236</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2007-10-07T22:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082479#M309237</link>
      <description>Manuale,&lt;BR /&gt;&lt;BR /&gt; You are backup using tar with relative path, you should tar in current directory.&lt;BR /&gt;&lt;BR /&gt;You may not be able to untar in /opt.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Sun, 07 Oct 2007 22:57:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082479#M309237</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-10-07T22:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082480#M309238</link>
      <description>how can i tar the files without using relative path?</description>
      <pubDate>Sun, 07 Oct 2007 23:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082480#M309238</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2007-10-07T23:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082481#M309239</link>
      <description>If the contents are absolute paths, you need to use pax(1) -s option to rename them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how can I tar the files without using relative path?&lt;BR /&gt;&lt;BR /&gt;You already did.  Or did you mean untar?&lt;BR /&gt;In that case you need to use pax(1).&lt;BR /&gt;$ cd /opt&lt;BR /&gt;$ pax -r -f interface.tar -s:/home/user1/::&lt;BR /&gt;&lt;BR /&gt;This will create /opt/files and /opt/scripts&lt;BR /&gt;&lt;BR /&gt;&amp;gt;WK: You may not be able to untar in /opt.&lt;BR /&gt;&lt;BR /&gt;Sure you can.  Unless you mean you have to unpax them.  :-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Oct 2007 23:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082481#M309239</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-07T23:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082482#M309240</link>
      <description>&amp;gt; If the contents are absolute paths, you&lt;BR /&gt;&amp;gt; need to use pax(1) [...]&lt;BR /&gt;&lt;BR /&gt;Or 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;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/tar/manual/index.html" target="_blank"&gt;http://www.gnu.org/software/tar/manual/index.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/tar/manual/tar.html#transform" target="_blank"&gt;http://www.gnu.org/software/tar/manual/tar.html#transform&lt;/A&gt;</description>
      <pubDate>Sun, 07 Oct 2007 23:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082482#M309240</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-07T23:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082483#M309241</link>
      <description>&amp;gt;Steven: Or GNU "tar".&lt;BR /&gt;&lt;BR /&gt;pax(1) is supported and Posix standard.</description>
      <pubDate>Sun, 07 Oct 2007 23:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082483#M309241</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-07T23:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: tar command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082484#M309242</link>
      <description>&amp;gt; pax(1) is supported and Posix standard.&lt;BR /&gt;&lt;BR /&gt;And GNU "tar" works, and claims a level of&lt;BR /&gt;POSIX compliance/conformance:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnu.org/software/tar/manual/tar.html#posix" target="_blank"&gt;http://www.gnu.org/software/tar/manual/tar.html#posix&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A statement like "You need to use pax.",&lt;BR /&gt;while common around here, is not strictly&lt;BR /&gt;true.  It may be true that "pax" will solve&lt;BR /&gt;the problem, but "pax" is not the only&lt;BR /&gt;solution, and it may not be the _best_&lt;BR /&gt;solution.  (Isn't this obvious?)</description>
      <pubDate>Mon, 08 Oct 2007 00:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4082484#M309242</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-10-08T00:13:32Z</dc:date>
    </item>
  </channel>
</rss>

