<?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/4697829#M383728</link>
    <description>cd /home&lt;BR /&gt;tar cvf test.tar sfdm*&lt;BR /&gt;cd /home/test1&lt;BR /&gt;tar xvf /home/test.tar&lt;BR /&gt;&lt;BR /&gt;This will create a relative tar file called test.tar in the /home directory and then extract that information to the /home/test1 directory.</description>
    <pubDate>Mon, 18 Oct 2010 16:47:09 GMT</pubDate>
    <dc:creator>Mike Miller_8</dc:creator>
    <dc:date>2010-10-18T16:47:09Z</dc:date>
    <item>
      <title>Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697820#M383719</link>
      <description>Team,&lt;BR /&gt;&lt;BR /&gt;tar -cvf /home/test.tar /home/sfdm*&lt;BR /&gt;&lt;BR /&gt;done created a tar file inside home named as test.tar.&lt;BR /&gt;&lt;BR /&gt;when i am tryting to untar it, it is untaring but go and resides on the original place as /home/sfdm.&lt;BR /&gt;&lt;BR /&gt;I need to restore to diff location as /home/test1/ inside i need to restore it??&lt;BR /&gt;&lt;BR /&gt;command plz?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 11 Oct 2010 12:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697820#M383719</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-10-11T12:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697821#M383720</link>
      <description>cd into /home/sfdm before you create the tarball.&lt;BR /&gt;&lt;BR /&gt;then tar -cvf /home/test.tar *&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2010 12:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697821#M383720</guid>
      <dc:creator>Larry Klasmier</dc:creator>
      <dc:date>2010-10-11T12:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697822#M383721</link>
      <description>Attempt to create archive of no files. Nothing dumped.&lt;BR /&gt;[as-tmp]/home/sfmdb&lt;BR /&gt; did but nothing get tared on that file 0KB</description>
      <pubDate>Mon, 11 Oct 2010 12:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697822#M383721</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-10-11T12:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697823#M383722</link>
      <description>Hi , &lt;BR /&gt;&lt;BR /&gt;You have two way to tar something : &lt;BR /&gt;&lt;BR /&gt;With the method that you have use : In this case tar and untar use abolute PATH because the tar file is made whit absolute PATH  &lt;BR /&gt;&lt;BR /&gt;With relative PATH : If you tar something by using relative PATH your resulting tar file will can be untar at anyway ext ( cd /home ; tar *sfdm* test.tar  &lt;BR /&gt;&lt;BR /&gt;Have a good day</description>
      <pubDate>Mon, 11 Oct 2010 12:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697823#M383722</guid>
      <dc:creator>merieux</dc:creator>
      <dc:date>2010-10-11T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697824#M383723</link>
      <description>tar *sfmdb* test1.tar&lt;BR /&gt;tar: s: unknown option&lt;BR /&gt;tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...</description>
      <pubDate>Mon, 11 Oct 2010 12:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697824#M383723</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-10-11T12:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697825#M383724</link>
      <description>Hi Fizan,&lt;BR /&gt;&lt;BR /&gt;Hope u know the basics of Tar,&lt;BR /&gt; to untar use the below command,&lt;BR /&gt;tar -xvf filename.tar path where to extract &lt;BR /&gt;&lt;BR /&gt;u can refer below link, &lt;BR /&gt;&lt;A href="http://www.sikh-history.com/computers/unix/commands.html" target="_blank"&gt;http://www.sikh-history.com/computers/unix/commands.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this solves ur issue&lt;BR /&gt;Please assign points&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vishnu Khandare</description>
      <pubDate>Mon, 11 Oct 2010 13:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697825#M383724</guid>
      <dc:creator>vishnu.khandare</dc:creator>
      <dc:date>2010-10-11T13:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697826#M383725</link>
      <description># tar -xvf home.tar /sap/t1&lt;BR /&gt;[rx26-207]/sap&lt;BR /&gt;# cd /sap/t1&lt;BR /&gt;[rx26-207]/sap/t1&lt;BR /&gt;# ll&lt;BR /&gt;total 0&lt;BR /&gt;[rx26-207]/sap/t1&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;no it dosent work out.</description>
      <pubDate>Mon, 11 Oct 2010 13:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697826#M383725</guid>
      <dc:creator>fizan</dc:creator>
      <dc:date>2010-10-11T13:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697827#M383726</link>
      <description>Do as follows&lt;BR /&gt;&lt;BR /&gt;#cp home.tar /sap/t1&lt;BR /&gt;#cd /sap/t1&lt;BR /&gt;#tar -xvf home.tar .&lt;BR /&gt;&lt;BR /&gt;It will definitely work if not check the tar file size.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this solves ur issue&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Vishnu Khandare</description>
      <pubDate>Mon, 11 Oct 2010 13:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697827#M383726</guid>
      <dc:creator>vishnu.khandare</dc:creator>
      <dc:date>2010-10-11T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697828#M383727</link>
      <description>&amp;gt;I need to restore to diff location as /home/test1/ inside I need to restore it?&lt;BR /&gt;&lt;BR /&gt;There are several ways to do this:&lt;BR /&gt;1) tar it off again, this time relative:&lt;BR /&gt;tar -cvf /home/test.tar -C /home sfdm # list each one under sfdm*&lt;BR /&gt;(Probably easier to go to /home and use wildcards.)&lt;BR /&gt;&lt;BR /&gt;2) Give up on tar and use pax(1) -s:&lt;BR /&gt;pax -r -v -f /home/test.tar '-s:/home/::'&lt;BR /&gt;&lt;BR /&gt;3) Give up on tar and use gnu tar.</description>
      <pubDate>Mon, 11 Oct 2010 14:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697828#M383727</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-11T14:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697829#M383728</link>
      <description>cd /home&lt;BR /&gt;tar cvf test.tar sfdm*&lt;BR /&gt;cd /home/test1&lt;BR /&gt;tar xvf /home/test.tar&lt;BR /&gt;&lt;BR /&gt;This will create a relative tar file called test.tar in the /home directory and then extract that information to the /home/test1 directory.</description>
      <pubDate>Mon, 18 Oct 2010 16:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/4697829#M383728</guid>
      <dc:creator>Mike Miller_8</dc:creator>
      <dc:date>2010-10-18T16:47:09Z</dc:date>
    </item>
  </channel>
</rss>

