<?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/3388353#M865065</link>
    <description>We can not use -C option to change directory while extraction there.&lt;BR /&gt;&lt;BR /&gt; It (11.00) is not working as like Linux there.&lt;BR /&gt; &lt;BR /&gt; Linux.&lt;BR /&gt; &lt;BR /&gt; tar -xvf &lt;FILENAME&gt; -C &lt;DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt; Hp-ux tar is used to get archieve files as like,&lt;BR /&gt;&lt;BR /&gt; tar cvf test.tar -C &lt;DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt; And no more warnings / error while using with tar -xvf &lt;FILE&gt; &lt;DIR&gt; there. ( Linux is good on this )&lt;BR /&gt;&lt;BR /&gt; You can do this as,&lt;BR /&gt;&lt;BR /&gt; cd &lt;DIR&gt;; tar -xvf &lt;FULLPATHNAME.TAR&gt;;cd -&lt;BR /&gt;&lt;BR /&gt; that is all.&lt;/FULLPATHNAME.TAR&gt;&lt;/DIR&gt;&lt;/DIR&gt;&lt;/FILE&gt;&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;&lt;/FILENAME&gt;</description>
    <pubDate>Tue, 28 Sep 2004 08:31:50 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2004-09-28T08:31:50Z</dc:date>
    <item>
      <title>tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388339#M865051</link>
      <description>Who tell me why I can't tar files as root while I can do that as user?.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 03:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388339#M865051</guid>
      <dc:creator>Marco_163</dc:creator>
      <dc:date>2004-09-28T03:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388340#M865052</link>
      <description>Marco,&lt;BR /&gt;&lt;BR /&gt;that should not happen. Can you explain what you were trying to tar and what happened?&lt;BR /&gt;error messages&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 03:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388340#M865052</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-09-28T03:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388341#M865053</link>
      <description>Hi Marco&lt;BR /&gt;&lt;BR /&gt;What error do you get? &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Tue, 28 Sep 2004 03:24:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388341#M865053</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-28T03:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388342#M865054</link>
      <description>No erros, at all.&lt;BR /&gt;First I thought that it's not a tar file.&lt;BR /&gt;But, I simply tar that as "normal" user.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 03:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388342#M865054</guid>
      <dc:creator>Marco_163</dc:creator>
      <dc:date>2004-09-28T03:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388343#M865055</link>
      <description>Can you check which tar is being used and give full path to execute the tar command?&lt;BR /&gt;&lt;BR /&gt;$whereis tar&lt;BR /&gt;tar: /sbin/tar /usr/bin/tar&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Tue, 28 Sep 2004 03:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388343#M865055</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-09-28T03:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388344#M865056</link>
      <description>I used tar from /sbin and /usr/bin directory and I received the same result - no error but the file was not tarred.</description>
      <pubDate>Tue, 28 Sep 2004 03:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388344#M865056</guid>
      <dc:creator>Marco_163</dc:creator>
      <dc:date>2004-09-28T03:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388345#M865057</link>
      <description>Can you check that file as,&lt;BR /&gt;&lt;BR /&gt; $ file &lt;TARFILE&gt;&lt;BR /&gt; it will informations there.&lt;BR /&gt; &lt;BR /&gt; Find more as,&lt;BR /&gt; &lt;BR /&gt; $ which tar&lt;BR /&gt; $ what `which tar`&lt;BR /&gt;&lt;BR /&gt; Try to execute with -v mode tooo.&lt;BR /&gt;&lt;BR /&gt;what are you getting here.&lt;BR /&gt; # /usr/bin/tar -xvf &lt;TAR.FILE&gt;&lt;BR /&gt; &lt;BR /&gt; $  /usr/bin/tar -xvf &lt;TAR.FILE&gt;&lt;/TAR.FILE&gt;&lt;/TAR.FILE&gt;&lt;/TARFILE&gt;</description>
      <pubDate>Tue, 28 Sep 2004 03:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388345#M865057</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-28T03:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388346#M865058</link>
      <description>I tried to use /sbin/tar and /usr/bin/tar - results are the same : no error and no files.</description>
      <pubDate>Tue, 28 Sep 2004 04:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388346#M865058</guid>
      <dc:creator>Marco_163</dc:creator>
      <dc:date>2004-09-28T04:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388347#M865059</link>
      <description>what do you get for &lt;BR /&gt;&lt;BR /&gt; file &lt;TAR-FILE&gt;&lt;BR /&gt;&lt;BR /&gt; on root and normal users?&lt;BR /&gt;&lt;BR /&gt;what do you get for&lt;BR /&gt;&lt;BR /&gt; tar -y&lt;BR /&gt;&lt;BR /&gt; something unknown option on tar ..? do you get any messages on command line. &lt;BR /&gt;&lt;BR /&gt; Try with verbose mode. Try for other tar file.&lt;BR /&gt;&lt;BR /&gt; As,&lt;BR /&gt; &lt;BR /&gt; normal user&lt;BR /&gt;&lt;BR /&gt; echo hai &amp;gt; /tmp/test.file&lt;BR /&gt; tar -cvf /tmp/test.tar /tmp/test.file&lt;BR /&gt; mv /tmp/test.file /tmp/test.filenormal&lt;BR /&gt;&lt;BR /&gt; root user&lt;BR /&gt; tar -xvf /tmp/test.tar&lt;BR /&gt;&lt;BR /&gt; what are you getting there.&lt;BR /&gt;&lt;BR /&gt;Note: If you give your test and results to forums so that we can help at once. Without that and saying not working no messages will not help to others.&lt;/TAR-FILE&gt;</description>
      <pubDate>Tue, 28 Sep 2004 05:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388347#M865059</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-28T05:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388348#M865060</link>
      <description>Hi Marco,&lt;BR /&gt;&lt;BR /&gt;maybe an alias?&lt;BR /&gt;&lt;BR /&gt;Try 'alias|grep tar'&lt;BR /&gt;&lt;BR /&gt;Volkmar</description>
      <pubDate>Tue, 28 Sep 2004 05:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388348#M865060</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-09-28T05:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388349#M865061</link>
      <description>Marco,&lt;BR /&gt;&lt;BR /&gt;so far I do not know, what you where trying to do. can you give an exampe?&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 06:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388349#M865061</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-09-28T06:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388350#M865062</link>
      <description>Soory,&lt;BR /&gt;It was my fault&lt;BR /&gt; tar -xvf /test/user9.tar    &lt;BR /&gt;works&lt;BR /&gt;&lt;BR /&gt;but I wrote&lt;BR /&gt; tar -xvf /test/user9.tar /test&lt;BR /&gt;and nothing happend.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 07:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388350#M865062</guid>
      <dc:creator>Marco_163</dc:creator>
      <dc:date>2004-09-28T07:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388351#M865063</link>
      <description>That is correct - tar only takes a file name or device - not a directory as an option.&lt;BR /&gt;(unless use use -C /directory - which performs a chdir).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 07:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388351#M865063</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-09-28T07:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388352#M865064</link>
      <description>Marco,&lt;BR /&gt;&lt;BR /&gt;check first with tar tvf /test/user9.tar &lt;BR /&gt;what is in the archive and if you used absolute or realive path names.&lt;BR /&gt;Then select the name of the file you want to extract.&lt;BR /&gt;I assume you wanted to extract /test right?&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2004 07:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388352#M865064</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-09-28T07:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: tar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388353#M865065</link>
      <description>We can not use -C option to change directory while extraction there.&lt;BR /&gt;&lt;BR /&gt; It (11.00) is not working as like Linux there.&lt;BR /&gt; &lt;BR /&gt; Linux.&lt;BR /&gt; &lt;BR /&gt; tar -xvf &lt;FILENAME&gt; -C &lt;DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt; Hp-ux tar is used to get archieve files as like,&lt;BR /&gt;&lt;BR /&gt; tar cvf test.tar -C &lt;DIRECTORY&gt;&lt;BR /&gt;&lt;BR /&gt; And no more warnings / error while using with tar -xvf &lt;FILE&gt; &lt;DIR&gt; there. ( Linux is good on this )&lt;BR /&gt;&lt;BR /&gt; You can do this as,&lt;BR /&gt;&lt;BR /&gt; cd &lt;DIR&gt;; tar -xvf &lt;FULLPATHNAME.TAR&gt;;cd -&lt;BR /&gt;&lt;BR /&gt; that is all.&lt;/FULLPATHNAME.TAR&gt;&lt;/DIR&gt;&lt;/DIR&gt;&lt;/FILE&gt;&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 28 Sep 2004 08:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar/m-p/3388353#M865065</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-28T08:31:50Z</dc:date>
    </item>
  </channel>
</rss>

