Sukhdeep Singh bio photo

Sukhdeep Singh

I love travelling, hiking, frisbee and making friends.

Email LinkedIn Instagram Tumblr Github Youtube Soundcloud Biostars ImpactStory

Hola! Ungzipping all files in one line

For *.gz
find -name '*.gz' -exec tar xzv '{}' ';'
For *.tar.gz
find -name '*.tar.gz' -exec tar xzvf '{}' ';'

It uses all the files that ‘find’ outputs and send it to tar. Same can be applied to any other archive, just change the respective parameters.