<?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/4956636#M414818</link>
    <description>Really, really thanks all !!!!</description>
    <pubDate>Wed, 01 Feb 2006 21:23:10 GMT</pubDate>
    <dc:creator>Manuales</dc:creator>
    <dc:date>2006-02-01T21:23:10Z</dc:date>
    <item>
      <title>tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956629#M414811</link>
      <description>How can i use tar command in hp-ux B.11.11?&lt;BR /&gt;&lt;BR /&gt;Thanks, Manuales.</description>
      <pubDate>Wed, 01 Feb 2006 16:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956629#M414811</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2006-02-01T16:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956630#M414812</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;in what way use tar command?&lt;BR /&gt;&lt;BR /&gt;same as in other version of HPUX really, but depends what you want to do with tar.&lt;BR /&gt;&lt;BR /&gt;check man entries for more info&lt;BR /&gt;#man tar&lt;BR /&gt;&lt;BR /&gt;Andy&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Feb 2006 17:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956630#M414812</guid>
      <dc:creator>Andrew Rutter</dc:creator>
      <dc:date>2006-02-01T17:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956631#M414813</link>
      <description>well the simple way to create a tar file from the current directory of stuff you're currently sitting in...&lt;BR /&gt;&lt;BR /&gt;cd /mysourcedir&lt;BR /&gt;tar cvf &lt;FILENAME&gt;.tar .&lt;BR /&gt;&lt;BR /&gt;where &lt;FILENAME&gt; is the name of the tar file you wish to create, or the name of the tape drive you're trying to hit (e.g. /dev/rmt/0m).&lt;BR /&gt;&lt;BR /&gt;so&lt;BR /&gt;cd /mysourcedir&lt;BR /&gt;tar cvf mysourcedir.tar .&lt;BR /&gt;or simply &lt;BR /&gt;tar cvf mysourcedir.tar /mysourcedir&lt;BR /&gt;&lt;BR /&gt;would create a tar file of the contents of /mysourcedir.  The first example buries the name of the directory as "." and the second buries the name of the directory as "/mysourcedir".  This makes a difference when you extract the data later on.&lt;BR /&gt;&lt;BR /&gt;To extract the data:&lt;BR /&gt;&lt;BR /&gt;cd /mydestdir&lt;BR /&gt;tar xvf &lt;FILENAME&gt;.tar .&lt;BR /&gt;&lt;BR /&gt;would put the contents of &lt;FILENAME&gt;.tar in the current directory (/mydestdir).&lt;BR /&gt;&lt;BR /&gt;If you used the second method (mentioned above) to create the tar file with the absolutepath /mysourcedir embedded in the tar file, then you don't have much choice but to extract the data into /mysourcedir as well.&lt;BR /&gt;&lt;BR /&gt;tar xvf &lt;FILENAME&gt;.tar&lt;BR /&gt;&lt;BR /&gt;would create the directory "/mysourcedir", if it doesn't exist, and put the files from the tar file in the /mysourcedir directory.&lt;BR /&gt;&lt;BR /&gt;There's more, but that's the main two commands for tar.&lt;BR /&gt;&lt;BR /&gt;Of course,&lt;BR /&gt;&lt;BR /&gt;"man tar" for the rest.&lt;/FILENAME&gt;&lt;/FILENAME&gt;&lt;/FILENAME&gt;&lt;/FILENAME&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 01 Feb 2006 17:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956631#M414813</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-02-01T17:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956632#M414814</link>
      <description>Essentially the same way you use tar on any other UNIX box. Man tar will tell you all you need to know.</description>
      <pubDate>Wed, 01 Feb 2006 17:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956632#M414814</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-02-01T17:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956633#M414815</link>
      <description>Hi Manuales:&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /tmp/archive /home&lt;BR /&gt;&lt;BR /&gt;..would (c)reate a (f)ile named "/tmp/archive" for the contents of the '/home' directory and (v)erbosely record to your terminal the files archived.&lt;BR /&gt;&lt;BR /&gt;# tar -xvf /tmp/archive &lt;BR /&gt;&lt;BR /&gt;...would e(x)tract the archive (back into '/home' since we used absolute paths (not always a good thing!)&lt;BR /&gt;&lt;BR /&gt;# tar -tvf /tmp/archive&lt;BR /&gt;&lt;BR /&gt;...would merely list the contents of the archive.&lt;BR /&gt;&lt;BR /&gt;With 'tar' archives (whether to a tape or to a file) it is ofter better to use relative paths.  Thus in our first example:&lt;BR /&gt;&lt;BR /&gt;# cd /home &amp;amp;&amp;amp; tar -cvf /tmp/archive .&lt;BR /&gt;&lt;BR /&gt;...would allow restoration later in a directory of our choice without a great deal of bother.&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'tar' and its cousin 'pax'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Feb 2006 17:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956633#M414815</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-01T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956634#M414816</link>
      <description>Hi Manuales..&lt;BR /&gt;    the use of tar command is same in all the flavour of unix...&lt;BR /&gt;&lt;BR /&gt;     tar is basically used for backup purpose.means you can take a backup of ur file by using tar..&lt;BR /&gt;&lt;BR /&gt;# tar cvf &amp;lt; name of destination&amp;gt; &lt;NAME of="" backup="" file=""&gt;&lt;BR /&gt;&lt;BR /&gt;name of destination= /dev/rmt/0mn (device name of ur tape drive).&lt;BR /&gt;&lt;BR /&gt;# tar cvf /dev/rmt/0mn /home&lt;BR /&gt; it will take a backup of ur home directory...&lt;BR /&gt;&lt;BR /&gt;and you can view&lt;BR /&gt;&lt;BR /&gt;# tar tvf /dev/rmt/0mn&lt;BR /&gt;&lt;BR /&gt;and you can extract the backup&lt;BR /&gt;&lt;BR /&gt;# tar xvf /dev/rmt/0mn &lt;BR /&gt;&lt;BR /&gt;you can also make a archive file by using tar&lt;BR /&gt;&lt;BR /&gt;tar cvf home.tar /home&lt;BR /&gt;&lt;BR /&gt;i think this will solve youe doubt. see  man page also..&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;karan&lt;BR /&gt;&lt;/NAME&gt;</description>
      <pubDate>Wed, 01 Feb 2006 17:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956634#M414816</guid>
      <dc:creator>karan_3</dc:creator>
      <dc:date>2006-02-01T17:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956635#M414817</link>
      <description>Hi;&lt;BR /&gt;&lt;BR /&gt;To create a directory (dir1) to tar file&lt;BR /&gt;&lt;BR /&gt;#tar -cvf dir1.tar /dir1&lt;BR /&gt;&lt;BR /&gt;To untar a tar file.&lt;BR /&gt;#tar xvf dir1.tar&lt;BR /&gt;&lt;BR /&gt;To untar a dir1.tar.z file&lt;BR /&gt;&lt;BR /&gt;#tar -zxvf dir1.tar.z&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Indrajit</description>
      <pubDate>Wed, 01 Feb 2006 17:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956635#M414817</guid>
      <dc:creator>Indrajit_1</dc:creator>
      <dc:date>2006-02-01T17:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956636#M414818</link>
      <description>Really, really thanks all !!!!</description>
      <pubDate>Wed, 01 Feb 2006 21:23:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956636#M414818</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2006-02-01T21:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: tar command ...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956637#M414819</link>
      <description>Hi Manuales,&lt;BR /&gt;&lt;BR /&gt;Check the url (docID : KBAN00000907) about 'Example backup/recover commands for fbackup, cpio, tar' :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000076534352" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000076534352&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this information can help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Feb 2006 21:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-command/m-p/4956637#M414819</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-02-01T21:29:21Z</dc:date>
    </item>
  </channel>
</rss>

