<?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: gzip in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627223#M619490</link>
    <description>You can use the find command to process them one at a time:&lt;BR /&gt;&lt;BR /&gt;find /start_dir -type f -exec gzip {} \;&lt;BR /&gt;&lt;BR /&gt;Same for moving.  With that many files it may take a while though.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 15 Sep 2005 12:25:21 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-09-15T12:25:21Z</dc:date>
    <item>
      <title>gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627222#M619489</link>
      <description>I am zipping files in one directory..&lt;BR /&gt;its giving following error....&lt;BR /&gt;[root@mbdelh01 ftp_cdr_completed]# gzip *&lt;BR /&gt;-bash: /bin/gzip: Argument list too long&lt;BR /&gt;[root@mbdelh01 ftp_cdr_completed]#&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;How to gzip soo many files..&lt;BR /&gt;while moving *.gz its giving same error..&lt;BR /&gt;&lt;BR /&gt;waiting for replies&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 15 Sep 2005 12:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627222#M619489</guid>
      <dc:creator>YOGI_3</dc:creator>
      <dc:date>2005-09-15T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627223#M619490</link>
      <description>You can use the find command to process them one at a time:&lt;BR /&gt;&lt;BR /&gt;find /start_dir -type f -exec gzip {} \;&lt;BR /&gt;&lt;BR /&gt;Same for moving.  With that many files it may take a while though.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 15 Sep 2005 12:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627223#M619490</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-09-15T12:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627224#M619491</link>
      <description>Too many files error is because the shell parser expands all the filenames before it runs the command.&lt;BR /&gt; &lt;BR /&gt;The standard method to get around this process is-&lt;BR /&gt;ls | xargs gzip&lt;BR /&gt; &lt;BR /&gt;xargs breaks the arguments into managable chunks for gzip (or any command) to use.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 15 Sep 2005 12:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627224#M619491</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-09-15T12:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627225#M619492</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Do something like:&lt;BR /&gt;&lt;BR /&gt;cd your_directory&lt;BR /&gt;find . -type f &amp;gt; /tmp/mylist&lt;BR /&gt;while read FILE&lt;BR /&gt;do&lt;BR /&gt;gzip ... ${FILE} #...with whatever args...&lt;BR /&gt;done &amp;lt; /tmp/mylist&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 12:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627225#M619492</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-15T12:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627226#M619493</link>
      <description>The method you are using will compress each file and keep it that way in the directory.&lt;BR /&gt; &lt;BR /&gt;If you are compressing for purposes of transport, then a typical method is-&lt;BR /&gt; &lt;BR /&gt;cd ftp_cdr_completed&lt;BR /&gt;tar cf . - | gzip -c &amp;gt;package.tar.gz&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 15 Sep 2005 15:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627226#M619493</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-09-15T15:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627227#M619494</link>
      <description>I like the xargs method - but you could just tar them, then gzip the tarball...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 15 Sep 2005 15:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627227#M619494</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-09-15T15:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: gzip</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627228#M619495</link>
      <description>Use with xargs or find -exec \+ method to do this easily.&lt;BR /&gt;&lt;BR /&gt;ls | xargs gzip&lt;BR /&gt;&lt;BR /&gt;find . -type f -exec gzip {} \+&lt;BR /&gt;&lt;BR /&gt;You can also prefer to use tar all the files and gunzipping the tar.&lt;BR /&gt;&lt;BR /&gt;find . -type f -exec gzip {} \; is having limitation problem too.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 15 Sep 2005 22:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gzip/m-p/3627228#M619495</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-15T22:15:41Z</dc:date>
    </item>
  </channel>
</rss>

