Pages

Monday, September 19, 2011

Linux -=- Gunzip all the files recursively

Hi!

If you have need to gunzip all the gzipped files that were under a directory hierarchy, you can type the following command. It will return all the files to delete and gunzip them. You must go in the root directory and type this command:


find . -iname '*.gz' -exec gunzip {} \;

No comments:

Post a Comment