<?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: Need zip command tips , thanks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644640#M239663</link>
    <description>You can use "jar" that comes with HP Java. &lt;BR /&gt;&lt;BR /&gt;# /opt/java1.4/bin/jar  -cvf fork.zip fork.c&lt;BR /&gt;added manifest&lt;BR /&gt;adding: fork.c(in = 333) (out= 208)(deflated 37%)&lt;BR /&gt;# ls fork.c fork.zip&lt;BR /&gt;fork.c    fork.zip&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Fri, 07 Oct 2005 23:35:03 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2005-10-07T23:35:03Z</dc:date>
    <item>
      <title>Need zip command tips , thanks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644637#M239660</link>
      <description>DEAR ALL Fellow,&lt;BR /&gt;&lt;BR /&gt;Need helps,&lt;BR /&gt;&lt;BR /&gt;If i got the a file : abc.txt , and i also need to zip it &lt;BR /&gt;&lt;BR /&gt;[gbm5:/] #ll abc*&lt;BR /&gt;-rw-rw-rw-   1 root       sys             27 Oct  8 11:57 abc.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[gbm5:/] #gzip abc.txt&lt;BR /&gt;[gbm5:/] #ll abc*&lt;BR /&gt;-rw-rw-rw-   1 root       sys             50 Oct  8 11:57 abc.txt.gz&lt;BR /&gt;[gbm5:/] #&lt;BR /&gt;&lt;BR /&gt;How could I keep both files : &lt;BR /&gt;abc.txt and abc.txt.gz &lt;BR /&gt;&lt;BR /&gt;like this:&lt;BR /&gt;[gbm5:/] #ll abc*&lt;BR /&gt;-rw-rw-rw-   1 root       sys             27 Oct  8 11:57 abc.txt&lt;BR /&gt;-rw-rw-rw-   1 root       sys             50 Oct  8 11:57 abc.txt.gz&lt;BR /&gt;[gbm5:/] #&lt;BR /&gt;&lt;BR /&gt;Does gzip optional make it?&lt;BR /&gt;Thanks for your tips,&lt;BR /&gt;&lt;BR /&gt;Violin.&lt;BR /&gt;violin@gbmgroup.com.cn&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Oct 2005 23:13:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644637#M239660</guid>
      <dc:creator>violin_1</dc:creator>
      <dc:date>2005-10-07T23:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need zip command tips , thanks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644638#M239661</link>
      <description>In UNIX the most common thing to do is to gzip a tarball. You first usr tar to make an archive and then gzip the tar file.&lt;BR /&gt;&lt;BR /&gt;tar cvf /tmp/myfiles.tar abc.txt def.txt ghi.dat&lt;BR /&gt;gzip /tmp/myfiles.tar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To reverse the process you:&lt;BR /&gt;gunzip myfiles.tar.gz&lt;BR /&gt;tar xvf myfiles.tar</description>
      <pubDate>Fri, 07 Oct 2005 23:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644638#M239661</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-10-07T23:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need zip command tips , thanks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644639#M239662</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;gzip -c abc.txt &amp;gt; abc.txt.gz&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 07 Oct 2005 23:22:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644639#M239662</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2005-10-07T23:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need zip command tips , thanks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644640#M239663</link>
      <description>You can use "jar" that comes with HP Java. &lt;BR /&gt;&lt;BR /&gt;# /opt/java1.4/bin/jar  -cvf fork.zip fork.c&lt;BR /&gt;added manifest&lt;BR /&gt;adding: fork.c(in = 333) (out= 208)(deflated 37%)&lt;BR /&gt;# ls fork.c fork.zip&lt;BR /&gt;fork.c    fork.zip&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 07 Oct 2005 23:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644640#M239663</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-07T23:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need zip command tips , thanks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644641#M239664</link>
      <description>The Gnu tar has an -z option for compressing&lt;BR /&gt;&lt;BR /&gt;tar -cvfz abc.txt&lt;BR /&gt;&lt;BR /&gt;It will give you both the original file plus the compressed file.</description>
      <pubDate>Sat, 08 Oct 2005 03:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644641#M239664</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-10-08T03:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need zip command tips , thanks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644642#M239665</link>
      <description>cat abc.txt | gzip - &amp;gt; abc.txt.gz&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Sun, 09 Oct 2005 05:47:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-zip-command-tips-thanks/m-p/3644642#M239665</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2005-10-09T05:47:55Z</dc:date>
    </item>
  </channel>
</rss>

