<?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 and gunzip mutiple files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731134#M386475</link>
    <description>&amp;gt;Hakki: tar -cvf - * | gzip -9 -c &amp;gt; directory.tgz&lt;BR /&gt;&lt;BR /&gt;You need to be careful about using "*" and then writing to a file in the same directory.  You'll get a tar feedback loop.  :-)</description>
    <pubDate>Tue, 28 Dec 2010 14:05:00 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-12-28T14:05:00Z</dc:date>
    <item>
      <title>tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731131#M386472</link>
      <description>Hello techies,&lt;BR /&gt;&lt;BR /&gt;In one of my server /var is 95%. so i find out the old log files in /var/adm/sa. some 100 log files are there in the name like sa1 sa2 sa3.&lt;BR /&gt;so how can i tar all those files into a single file and gzipped that one.&lt;BR /&gt;&lt;BR /&gt;Please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!</description>
      <pubDate>Tue, 28 Dec 2010 07:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731131#M386472</guid>
      <dc:creator>gany59</dc:creator>
      <dc:date>2010-12-28T07:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731132#M386473</link>
      <description>Go to directory that you have file to compress;&lt;BR /&gt;# cd /var/adm/sa&lt;BR /&gt;# tar -cvf - * | gzip -9 -c &amp;gt; directory.tgz</description>
      <pubDate>Tue, 28 Dec 2010 07:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731132#M386473</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-12-28T07:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731133#M386474</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Dec 28, 2010 07:45:43 GMT   3 pts&lt;BR /&gt;&lt;BR /&gt;What didn't you like?  If you want a more&lt;BR /&gt;detailed answer, then you might try starting&lt;BR /&gt;with a more detailed question.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; # cd /var/adm/sa&lt;BR /&gt;&amp;gt; # tar -cvf - * | [...]&lt;BR /&gt;&lt;BR /&gt;I'd probably do it differently:&lt;BR /&gt;&lt;BR /&gt;      cd /&lt;BR /&gt;      tar -cf - var/adm/sa | [...]&lt;BR /&gt;&lt;BR /&gt;That way I wouldn't forget whence the files&lt;BR /&gt;came originally.  But I don't know exactly&lt;BR /&gt;which files you wish to archive.</description>
      <pubDate>Tue, 28 Dec 2010 13:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731133#M386474</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-12-28T13:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731134#M386475</link>
      <description>&amp;gt;Hakki: tar -cvf - * | gzip -9 -c &amp;gt; directory.tgz&lt;BR /&gt;&lt;BR /&gt;You need to be careful about using "*" and then writing to a file in the same directory.  You'll get a tar feedback loop.  :-)</description>
      <pubDate>Tue, 28 Dec 2010 14:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731134#M386475</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-28T14:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731135#M386476</link>
      <description>&amp;gt;Dennis:You need to be careful about using "*" and then writing to a file in the same directory. You'll get a tar feedback loop. :-)&lt;BR /&gt;&lt;BR /&gt;That is right, thank you Dennis for heads up .</description>
      <pubDate>Tue, 28 Dec 2010 15:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731135#M386476</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2010-12-28T15:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731136#M386477</link>
      <description>with gnu tar you can  &lt;BR /&gt;&lt;BR /&gt;use the &lt;BR /&gt;tar -czvf /mount-withfreespace/filename.tar.gz /var/adm/sa*</description>
      <pubDate>Wed, 29 Dec 2010 22:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731136#M386477</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2010-12-29T22:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: tar and gunzip mutiple files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731137#M386478</link>
      <description>&lt;!--!*#--&gt;&amp;gt; tar -czvf [...] /var/adm/sa*&lt;BR /&gt;&lt;BR /&gt;There's a reason I suggested:&lt;BR /&gt;&lt;BR /&gt;      cd /&lt;BR /&gt;      tar -cf - var/adm/sa  [...]&lt;BR /&gt;&lt;BR /&gt;instead of:&lt;BR /&gt;&lt;BR /&gt;      tar -cf - /var/adm/sa  [...]&lt;BR /&gt;&lt;BR /&gt;One is easier to extract to a non-original&lt;BR /&gt;location.</description>
      <pubDate>Thu, 30 Dec 2010 00:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-and-gunzip-mutiple-files/m-p/4731137#M386478</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-12-30T00:39:03Z</dc:date>
    </item>
  </channel>
</rss>

