![]() |
|
more useful options | |
PerlMonks |
Re: Perl Way To Gzipping/Joining Multiple Gzip Filesby anneli (Pilgrim) |
on Nov 04, 2011 at 07:44 UTC ( #935853=note: print w/replies, xml ) | Need Help?? |
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).
In Section
Seekers of Perl Wisdom
|
|