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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -