4
votes
6answers
6k 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 ...
4
votes
2answers
6k views

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

I need to extract a single folder and its subfolders from a tarball (.tar.gz) on a CentOS server. I haven't the slightest clue how to do it using an SSH terminal. I tried: gunzip -c ...