<?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 gunzip tgz problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113480#M675201</link>
    <description>why doesnt this work?&lt;BR /&gt;/usr/contrib/bin/gunzip icu4c-3_6-src.tgz|tar xvf /usr/local/include&lt;BR /&gt;&lt;BR /&gt;getting this error:&lt;BR /&gt;tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Jun 2008 12:04:02 GMT</pubDate>
    <dc:creator>Donald Thaler</dc:creator>
    <dc:date>2008-06-11T12:04:02Z</dc:date>
    <item>
      <title>gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113480#M675201</link>
      <description>why doesnt this work?&lt;BR /&gt;/usr/contrib/bin/gunzip icu4c-3_6-src.tgz|tar xvf /usr/local/include&lt;BR /&gt;&lt;BR /&gt;getting this error:&lt;BR /&gt;tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2008 12:04:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113480#M675201</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-06-11T12:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113481#M675202</link>
      <description>You're trying to untar /usr/local/include???&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 11 Jun 2008 12:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113481#M675202</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-06-11T12:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113482#M675203</link>
      <description>u will have to use xargs(1)&lt;BR /&gt;see if this works&lt;BR /&gt;#gunzip xxx.tgz|xargs tar xvf&lt;BR /&gt;&lt;BR /&gt;Any way u can do it in 2 commands ;)&lt;BR /&gt;BR,&lt;BR /&gt;Kapil</description>
      <pubDate>Wed, 11 Jun 2008 12:40:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113482#M675203</guid>
      <dc:creator>Kapil Jha</dc:creator>
      <dc:date>2008-06-11T12:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113483#M675204</link>
      <description>i wanted to place the output of the tar in&lt;BR /&gt;/usr/local/include ...&lt;BR /&gt;&lt;BR /&gt;i was able to unzip the file which created a icu4c-3_6-src.tar file, and then i did a 'tar xvf icu4c-3_6-src.tar' and copied the resulting directory into /usr/local/include..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2008 13:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113483#M675204</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-06-11T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113484#M675205</link>
      <description>you really cannot redirect the contents of an untar.&lt;BR /&gt;&lt;BR /&gt;Tar achives are either absolute or relative and will restore including their archived paths.  &lt;BR /&gt;&lt;BR /&gt;If it is relative the tar will extract into the current directory.  cd to change the directory.&lt;BR /&gt;&lt;BR /&gt;And as mentioned, -f is the name of the tar file and in this case will attempt to extract from /usr/local/include which is a directory and not a tar file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;man tar&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jun 2008 13:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113484#M675205</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-06-11T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113485#M675206</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;a possible better solution:&lt;BR /&gt;cd /usr/local/include&lt;BR /&gt;/usr/contrib/bin/gunzip &amp;lt; /FULLPATH/icu4c-3_6-src.tgz | tar xf -&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 11 Jun 2008 14:45:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113485#M675206</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2008-06-11T14:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113486#M675207</link>
      <description>&lt;!--!*#--&gt;&amp;gt; why doesn[']t this work?&lt;BR /&gt;&lt;BR /&gt;Because it's nonsense?.&lt;BR /&gt;&lt;BR /&gt;What, exactly, are you trying to do?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; a possible better solution:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Or, depending on what you really want to do,&lt;BR /&gt;possibly:&lt;BR /&gt;&lt;BR /&gt;( cd /usr/local/include ; \&lt;BR /&gt;  gzip -dc valid/path/to/icu4c-3_6-src.tgz | \&lt;BR /&gt;  tar xf - )&lt;BR /&gt;&lt;BR /&gt;But plopping junk directly into&lt;BR /&gt;/usr/local/include sounds like a bad idea, in&lt;BR /&gt;general.</description>
      <pubDate>Wed, 11 Jun 2008 15:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113486#M675207</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-06-11T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113487#M675208</link>
      <description>&amp;gt;I wanted to place the output of the tar in&lt;BR /&gt;/usr/local/include&lt;BR /&gt;&lt;BR /&gt;What's in the tarfile?  Are the paths relative or absolute?&lt;BR /&gt;If you need to change the paths, you can use pax's:  -s:old:new:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Tim: you really cannot redirect the contents of an untar.&lt;BR /&gt;&lt;BR /&gt;Sure you can.  It's called pax(1).  :-)&lt;BR /&gt;&lt;BR /&gt;Peter: gunzip &amp;lt; /FULLPATH/icu4c-3_6-src.tgz | tar xf -&lt;BR /&gt;&lt;BR /&gt;Right.  I typically use gzcat:&lt;BR /&gt;gzcat /FULLPATH/icu4c-3_6-src.tgz | tar -xf -</description>
      <pubDate>Thu, 12 Jun 2008 02:25:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113487#M675208</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-12T02:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113488#M675209</link>
      <description>&amp;gt; Sure you can. It's called pax(1). :-)&lt;BR /&gt;&lt;BR /&gt;Or GNU "tar", but sometimes it get tiring to&lt;BR /&gt;recommend the same old solutions every time,&lt;BR /&gt;especially when the original problem&lt;BR /&gt;statement lacks enough detail to let anyone&lt;BR /&gt;discern what really needs to be done.</description>
      <pubDate>Thu, 12 Jun 2008 03:19:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113488#M675209</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-06-12T03:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: gunzip tgz problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113489#M675210</link>
      <description>becuase of my ignorance of unix i did ask a stupid question, i thought i could untar into a directory not realizing that the directory was already specified in the tar file..</description>
      <pubDate>Thu, 25 Sep 2008 18:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gunzip-tgz-problems/m-p/5113489#M675210</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-09-25T18:39:02Z</dc:date>
    </item>
  </channel>
</rss>

