Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl Way To Gzipping/Joining Multiple Gzip Files

by anneli (Pilgrim)
on Nov 04, 2011 at 07:44 UTC ( #935853=note: print w/replies, xml ) Need Help??


in reply to Perl Way To Gzipping/Joining Multiple Gzip Files

Is there Perl ways

Not really, as this is just a question of compression and archival. gzip doesn't do file-separation; it's just stream compression. So if you cat the existing .gz files together, as you see, you get one file back.

tar is made exclusively for putting multiple files together; have you considered taring the .gzs together? (You'd have .gz.tar instead of .tar.gz, kinda!)

Or, try .zip or .rar with a zero compression setting (as you will probably incur a size gain trying to compress the already compressed .gzs).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://935853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-05-21 00:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?