Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
45 views

gunzip multiple files and concatenate in parallel?

Is it possible to gunzip multiple files and concatenate them into one big file, but do it in parallel given a multicore machine? For example, right now I do: gunzip -c file1.gz > final gunzip -c ...
0
votes
2answers
107 views

Pipe gunzip and mysql to gunzip a dump and import it

I have a .gz sql dump file (example: foo.sql.gz) that i want import in my database with the classic mysql command. gunzip -c foo.sql.gz > foo.sql mysql -uroot -ppassword foo < foo.sql foo is ...
1
vote
1answer
63 views

Gunzip redirection: “No such file or directory”

When I issue the following command: gunzip -c /disk1/hadoop/gunzip_tmp/in/part-00006.gz>>/disk1/hadoop/gunzip_tmp/outfile.000 I get the following stderr: gunzip: ...
1
vote
2answers
103 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?
3
votes
1answer
84 views

gunzip -c equivalent for tar.gz files?

What is the equivalent of gunzip -c to pipe the content of a bunch of tar.gz files without having to permanently "tar xzf" them and "tar czf" them back? Something like: tar xzf "-c" *.tar.gz | xargs ...
0
votes
0answers
171 views

Auto-untar/gunzip a multilayer tarball in Win XP/7

I review a disgusting ball of knowledge each day that I'd like to think up a way to organize more automatically. The structure looks like this - Parenthesis show the number of files of that type in ...
4
votes
4answers
2k views

Is it possible to gunzip multiple files to a specific directory without deleting the original gz files?

I know this can be done for single files, e.g. gunzip -c my.gz > somedir/my Can it be done for multiple files? [UPDATE] I have a directory with a large number of .gz files (not .tar.gz), and I ...
2
votes
2answers
863 views

How to extract a single folder and it's subfolders from a “tarball” (.tar.gz)

I need to extract a single folder and it's sub folders on a CentOS server, I haven't the slightest clue how to do it using a SSH terminal. I tried: gunzip -c files_20100623.0110.tar.gz | tar -xvf ...
2
votes
2answers
8k views

how to gunzip to a different destination directory?

how do I gunzip to a destination directory other than the current one? this did not work: gunzip *.gz /putthemhere/
1
vote
3answers
1k views

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

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 ...
2
votes
3answers
15k 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 ...
25
votes
6answers
16k views

How do you gunzip a file and keep the .gz file?

The default behavior of gunzip is to delete the .gz file after it decompresses. How do I prevent it from deleting the file?? If this functionality is not included then is there an alternative ...