Skip to content

Instantly share code, notes, and snippets.

@kirkch
Created February 9, 2013 16:05
Show Gist options
  • Save kirkch/4745835 to your computer and use it in GitHub Desktop.
Save kirkch/4745835 to your computer and use it in GitHub Desktop.
gzip multiple files individually
find . -maxdepth 1 -type f ! -name `*.gz` -exec gzip "{}" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment