generic uncompressor

Is there a generic uncompressor script that can guess the
format of the compressed file and then test
or decompress both .gz and .bz2 files ?

Thanks
Yakov

I realize it's trivial shell script but still,
is there one in common use ?

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

none I know

Probably too trivial to code - 'file' tells you whether it's bz2 or gz. You might automatically determine the type in large complicated scripts, but when just decompressing the odd file, why bother?

Syndicate content