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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -