gunzip - Unzip files in subdirectories bash -


i have directory called test1 contains multiple directories. in each directory test1/*/, there *.gz file want unzip. tried writing code doesn't work, appreciated.

for folder in test1/*/; find . -name "*.gz" | while read filename; gunzip -d $filename;done ;done 

gunzip test1/*/*.gz 

gunzip extract file in directory in.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -