I'd like to know what is the command to use to gunzip all files in a target directory recursively? I tried to use the unzip command but it didn't work.
I tried the command from Unzip all zip files in a target folder?
I'd like to know what is the command to use to gunzip all files in a target directory recursively? I tried to use the unzip command but it didn't work.
I tried the command from Unzip all zip files in a target folder?
gunzip
has-r
option. Fromman gunzip
:So, if you want to
gunzip
all compressed files (gunzip
can currently decompress files created by gzip, zip, compress, compress -H or pack) inside the directory/foo/bar
and all its subdirectories :This will handle file names with spaces too.
Using the commands below. Replace
<path_of_your_zips>
with the path to your ZIP files and<out>
with your destination folder:For GZ files
or
For ZIP files
or