<?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: Using TAR command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649946#M903293</link>
    <description>Hi Tiago,&lt;BR /&gt;&lt;BR /&gt;It all depends how the files were backed up.  &lt;BR /&gt;&lt;BR /&gt;If you used relative pathnames, then cd into the directory before restoring.&lt;BR /&gt;&lt;BR /&gt;If absolute, then, depending on the original directory, you could create a soft link from the old directory to the new directory before restoring.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
    <pubDate>Tue, 22 Jan 2002 13:11:53 GMT</pubDate>
    <dc:creator>Robin Wakefield</dc:creator>
    <dc:date>2002-01-22T13:11:53Z</dc:date>
    <item>
      <title>Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649944#M903291</link>
      <description>Hi!!&lt;BR /&gt;&lt;BR /&gt;I'm trying to restore an specific file from my DLT tape, using the tar command.&lt;BR /&gt;&lt;BR /&gt;How do I specify the destination directory to restore this file??&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Tiago</description>
      <pubDate>Tue, 22 Jan 2002 13:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649944#M903291</guid>
      <dc:creator>Tiago Marques_2</dc:creator>
      <dc:date>2002-01-22T13:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649945#M903292</link>
      <description>#cd /directory&lt;BR /&gt;#tar xv ./...</description>
      <pubDate>Tue, 22 Jan 2002 13:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649945#M903292</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2002-01-22T13:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649946#M903293</link>
      <description>Hi Tiago,&lt;BR /&gt;&lt;BR /&gt;It all depends how the files were backed up.  &lt;BR /&gt;&lt;BR /&gt;If you used relative pathnames, then cd into the directory before restoring.&lt;BR /&gt;&lt;BR /&gt;If absolute, then, depending on the original directory, you could create a soft link from the old directory to the new directory before restoring.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Tue, 22 Jan 2002 13:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649946#M903293</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2002-01-22T13:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649947#M903294</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just specify the file name to be extracted. If the path exist in the system where you are extracting, file will be extracted in that path, other wise system will create the extracting file's path.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jan 2002 13:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649947#M903294</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-01-22T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649948#M903295</link>
      <description>Hi Tiago,&lt;BR /&gt;&lt;BR /&gt;If you created the tar file using relative pathnames for the input files, tar will extract the files to locations relative to your current directory.&lt;BR /&gt;&lt;BR /&gt;If you created the tar file using absolute pathnames for the input files, tar will extract the files to that absolute path.&lt;BR /&gt;&lt;BR /&gt;An alternative for changing the extract destination for a tar file created with absolute pathnames is to use pax.  An example is:&lt;BR /&gt;&lt;BR /&gt;tar cvf /tmp/users.tar /home/users&lt;BR /&gt;&lt;BR /&gt;tar xvf /tmp/users.tar&lt;BR /&gt;will extract files back to their original locations because the input file/dir was specified with an absolute pathname (/home/users)&lt;BR /&gt;&lt;BR /&gt;pax -r -s,/home/users,/home/users2, -f /tmp/users.tar&lt;BR /&gt;will extract files changing /home/users to /home/users2&lt;BR /&gt;&lt;BR /&gt;See the man page for more info.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 22 Jan 2002 13:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649948#M903295</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-01-22T13:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649949#M903296</link>
      <description>hi,darrell,&lt;BR /&gt;when i exacute the following cmd,error occure.why ?thanks!&lt;BR /&gt;&lt;BR /&gt;# pax -r -s,/testdb/test/,/testdb/testx,-f /ovdbf/bak.tar&lt;BR /&gt;pax: A replacement string was not added : An invalid trailing option was speci&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jan 2004 00:00:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649949#M903296</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-16T00:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649950#M903297</link>
      <description>Did you have a space between the last comma and the minus f? The -f is a different option from the -s with its replacement string...</description>
      <pubDate>Fri, 16 Jan 2004 01:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649950#M903297</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-16T01:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using TAR command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649951#M903298</link>
      <description>hi,Elmar P. Kolkman&lt;BR /&gt;you are right!&lt;BR /&gt;thank you very much!</description>
      <pubDate>Fri, 16 Jan 2004 02:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-tar-command/m-p/2649951#M903298</guid>
      <dc:creator>milaren</dc:creator>
      <dc:date>2004-01-16T02:40:45Z</dc:date>
    </item>
  </channel>
</rss>

