Skip to content

Instantly share code, notes, and snippets.

@danishsatkut
Created July 17, 2014 04:16
Show Gist options
  • Save danishsatkut/cfa3e6abbc2efeaa78f7 to your computer and use it in GitHub Desktop.
Save danishsatkut/cfa3e6abbc2efeaa78f7 to your computer and use it in GitHub Desktop.
for f in *.gz; do
STEM=$(basename "${f}" .gz)
gunzip -c "${f}" > /THERE/"${STEM}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment