Created
June 9, 2017 09:15
-
-
Save idarlington/6778000f98ad4ddef67d65a306f0489f to your computer and use it in GitHub Desktop.
zip files older than n days
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -mtime +n -print -exec gzip {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment