Skip to content

Instantly share code, notes, and snippets.

@idarlington
Created June 9, 2017 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save idarlington/6778000f98ad4ddef67d65a306f0489f to your computer and use it in GitHub Desktop.
Save idarlington/6778000f98ad4ddef67d65a306f0489f to your computer and use it in GitHub Desktop.
zip files older than n days
find . -mtime +n -print -exec gzip {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment