<?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: compression in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313882#M876589</link>
    <description>i know that , i do the tar for a folder which contain many files ,the size of all of these files less than 2GB , the tar file result from this is almost 30GB size , so i want to use the tar command with option to compress the files at the same time&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Jun 2004 01:52:08 GMT</pubDate>
    <dc:creator>Fadia Almarei</dc:creator>
    <dc:date>2004-06-24T01:52:08Z</dc:date>
    <item>
      <title>compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313880#M876587</link>
      <description>Dear All&lt;BR /&gt;&lt;BR /&gt;i do my tar backup on hard disk hich i 36GB, and i do te ackup for two files the bigger one is 30GB , and then when i do compress command on the file the disk become full before it finished compressing .&lt;BR /&gt;is there is any thing (patch) can i add to the tar command to compression and tar at the same time ???&lt;BR /&gt;BR,&lt;BR /&gt;Fadia</description>
      <pubDate>Thu, 24 Jun 2004 01:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313880#M876587</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T01:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313881#M876588</link>
      <description>hi fadia,&lt;BR /&gt;&lt;BR /&gt;tar doesnt support files more than 2GB.&lt;BR /&gt;Look out for GNU TAR&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;Naveej</description>
      <pubDate>Thu, 24 Jun 2004 01:49:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313881#M876588</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-06-24T01:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313882#M876589</link>
      <description>i know that , i do the tar for a folder which contain many files ,the size of all of these files less than 2GB , the tar file result from this is almost 30GB size , so i want to use the tar command with option to compress the files at the same time&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 01:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313882#M876589</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T01:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313883#M876590</link>
      <description>hi fadia,&lt;BR /&gt;&lt;BR /&gt;GNU TAR will do it for you.&lt;BR /&gt;&lt;BR /&gt;get it from&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.14/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.14/&lt;/A&gt;&lt;BR /&gt;and install it&lt;BR /&gt;&lt;BR /&gt;with best wishes&lt;BR /&gt;Naveej</description>
      <pubDate>Thu, 24 Jun 2004 01:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313883#M876590</guid>
      <dc:creator>Naveej.K.A</dc:creator>
      <dc:date>2004-06-24T01:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313884#M876591</link>
      <description>You can do it in memory with something like&lt;BR /&gt; &lt;BR /&gt;tar cf - &lt;FILES&gt; | gzip &amp;gt; newfile.tgz&lt;BR /&gt; &lt;BR /&gt;However, I'm not sure how much RAM you are going to use with these files of yours.&lt;/FILES&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:07:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313884#M876591</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-06-24T02:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313885#M876592</link>
      <description>Dear Mark&lt;BR /&gt;i try this but it gives me error that gzip not found.but i want to know is the file i put for gzip is a new file , if this is the case , i will hae a problem that i will have wo files one is from the tar and the other from the gzip. is is rigth or what</description>
      <pubDate>Thu, 24 Jun 2004 02:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313885#M876592</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T02:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313886#M876593</link>
      <description>Hi,&lt;BR /&gt;Do you have enough space on the disk/filesystem where you are compressing the file ? &lt;BR /&gt;Normally compressing a file requires atleast 50%-100% of the free space on disk/filesystem&lt;BR /&gt;depending upon the ratio of compression.&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313886#M876593</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-06-24T02:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313887#M876594</link>
      <description>as i said the file disk i have is a free disk with 36GB , but when i do the tar for the first folder (which contain many files) the resulted tar file is 30GB.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313887#M876594</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T02:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313888#M876595</link>
      <description>The command Mark gave you would be the best one to use if 'gzip' is in your path.&lt;BR /&gt;&lt;BR /&gt;If it's not, use the full path for 'gzip'.&lt;BR /&gt;&lt;BR /&gt;If you don't have gzip (I find this very hard to believe), try using 'compress' in it's stead:&lt;BR /&gt;&lt;BR /&gt;tar cf - &lt;FILE&gt; | compress &amp;gt; newfile.tar.Z&lt;BR /&gt;&lt;BR /&gt;The whole point of this (to make it a bit clearer) is to do the commands in a pipe.  This means you aren't creating a 30GB intermediate file before you compress it, it's done as-you-go.&lt;BR /&gt;&lt;BR /&gt;Your current issue is that your 36GB disk has 30GB used already for your 'tar' file, which means your compression doesn't have any worknig space to play with (depending on the compression program you use dpeends on how much space you need).&lt;BR /&gt;&lt;BR /&gt;Pipes are good.  Use them.&lt;/FILE&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313888#M876595</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-06-24T02:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313889#M876596</link>
      <description>Hi Fadia,&lt;BR /&gt;&lt;BR /&gt;you could use&lt;BR /&gt;&lt;BR /&gt;tar cfv - &lt;DIR&gt; | gzip -9 &amp;gt; &lt;ARCHIVE&gt;&lt;BR /&gt;&lt;BR /&gt;This should tar and compress the files in one step&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/ARCHIVE&gt;&lt;/DIR&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313889#M876596</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-06-24T02:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313890#M876597</link>
      <description>There is no option in tar which does compression and backup simultaneously.&lt;BR /&gt;&lt;BR /&gt;As previous post suggest, use the -z option in gzip to compress the backup.&lt;BR /&gt;&lt;BR /&gt;sks&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 02:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313890#M876597</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-06-24T02:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313891#M876598</link>
      <description>You should be able to use gzip found in /usr/contrib/bin&lt;BR /&gt;Failing that you can download it from here. The usage of tar with the pipe through gzip is a very good method.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.5/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.5/&lt;/A&gt;</description>
      <pubDate>Mon, 16 Sep 2024 09:26:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313891#M876598</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2024-09-16T09:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313892#M876599</link>
      <description>Dear Sturt&lt;BR /&gt;just a small question when using this tar command &lt;BR /&gt;tar cf - &lt;FILES&gt; | gzip &amp;gt; newfile.tgz&lt;BR /&gt;the files used is the files that i will do backup for or at which i will do the backup ,&lt;BR /&gt;and also as i have to do the backup for a directory contains many files can i replace it with the dirctory path &lt;BR /&gt;&lt;/FILES&gt;</description>
      <pubDate>Thu, 24 Jun 2004 06:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313892#M876599</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T06:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313893#M876600</link>
      <description>Hi Fadia,&lt;BR /&gt;&lt;BR /&gt;look at my reply and you'll see that you can do it with the directory.&lt;BR /&gt;Btw, would you mind assining points ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Thu, 24 Jun 2004 07:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313893#M876600</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-06-24T07:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313894#M876601</link>
      <description>put i want to do the backup on disk , does any thing change ,and the question was is this the file that i want to do backup for or at</description>
      <pubDate>Thu, 24 Jun 2004 07:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313894#M876601</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T07:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313895#M876602</link>
      <description>Hi Fadia,&lt;BR /&gt;&lt;BR /&gt;the files respectively the directory named after the tar command are / is the thing you want to backup&lt;BR /&gt;For example if you want to backup /tmp&lt;BR /&gt;then : tar cfv - /tmp|gzip ...&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Thu, 24 Jun 2004 08:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313895#M876602</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-06-24T08:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313896#M876603</link>
      <description>Frank&lt;BR /&gt;i tried it but it does not work, what shull i do for that&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 08:23:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313896#M876603</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T08:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313897#M876604</link>
      <description>What exactly did you try?  What error message are you getting?  How is it not working?  Please show the exact command you are trying.</description>
      <pubDate>Thu, 24 Jun 2004 08:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313897#M876604</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-06-24T08:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313898#M876605</link>
      <description>i do the backup for the directory without writing the file name at which tar cvf for and the error message is &lt;BR /&gt;"tar: usage  tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[&lt;BR /&gt;-C directory] file] ..."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the command i use is&lt;BR /&gt;" tar cvf /u01/oracle/oa11idata|/usr/contrib/bin/gzip &amp;gt; /u04/SAT-u01.tgz"&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2004 08:33:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313898#M876605</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2004-06-24T08:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: compression</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313899#M876606</link>
      <description>You are missing the "-" character.  Try&lt;BR /&gt; &lt;BR /&gt;tar cvf - /u01/oracle/oa11idata|/usr/contrib/bin/gzip &amp;gt; /u04/SAT-u01.tgz</description>
      <pubDate>Thu, 24 Jun 2004 08:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compression/m-p/3313899#M876606</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-06-24T08:36:28Z</dc:date>
    </item>
  </channel>
</rss>

