Skip to content

Instantly share code, notes, and snippets.

@ekiara
Created April 9, 2014 09:28
Show Gist options
  • Save ekiara/10246832 to your computer and use it in GitHub Desktop.
Save ekiara/10246832 to your computer and use it in GitHub Desktop.
GZIP ALL THE THINGS
for x in `ls|grep tsv`; do gzip --best --stdout $x >> $x.gz; rm -vf $x 1>> cleanup.log 2>> cleanup.log; done
for x in `ls|grep tsv`; do gzip --best --stdout $x >> $x.gz; rm -vf $x 1>> cleanup.log 2>> cleanup.log; done
for x in `ls|grep tsv`; do gzip --best --stdout $x >> $x.gz; rm -vf $x 1>> cleanup.log 2>> cleanup.log; done
for x in `ls|grep tsv`; do gzip --best --stdout $x >> $x.gz; rm -vf $x 1>> cleanup.log 2>> cleanup.log; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment