0
votes
0answers
32 views

List contents of zip archive via stdin

Is there a "magic" way to list the contents of a Zip archive piped in via stdin? For instance: $ some_process_sending_files_in_one_zip_stream_to_stdout | gunzip -l - ... listing of files ... When ...
0
votes
0answers
75 views

Error uncompressing file when piping curl to gunzip

I need to download a gzipped xml feed to parse in my Ruby app. It may well be quite large, 30Mb compressed, 300Mb uncompressed. So I do this: curl -s http://example.com/file.xml.gz | gunzip and read ...
-2
votes
4answers
89 views

“.gz” extension somehow appended itself to EVERY FILE on my site… how do I undo it?

Somehow I accidentally appended the extension .gz to ALL files in my entire website directory. How do I undo this? I need them to retain their original file extensions (EG: picture.jpg.gz -> ...
0
votes
1answer
532 views

zcat or gunzip: proceed on error

When trying to gunzip or zcat a large number of gzip files, zcat/gunzip will terminate with this error: gzip: <gzip-file>: unexpected end of file Is there any way I can get gunzip or zcat to ...
2
votes
2answers
853 views

can gunzip work on file without a suffix?

Is there a way to gunzip a file that isn't ending with a .zip even though I know for a fact the file is indeed a zip?
1
vote
3answers
2k views

How to decompress the *.TGZ file without changing the orginal file? [duplicate]

Possible Duplicate: How do you gunzip a file and keep the .gz file ? I decompress the file using following command: gunzip -f test.TGZ This gave me test.tar file but I lost the test.TGZ ...
4
votes
3answers
35k views

How do I gunzip a directory?

I have a gzipped directory called "new" which contains other directories and files, that I compressed in the following way gzip -cvr --no-name /path-to-directory/new > new.gz I have copied this ...