Skip to content

Instantly share code, notes, and snippets.

@ctrlShiftBryan
Created December 21, 2016 13:46
Show Gist options
  • Save ctrlShiftBryan/95fbd90d8076701119ad90e78465bfe8 to your computer and use it in GitHub Desktop.
Save ctrlShiftBryan/95fbd90d8076701119ad90e78465bfe8 to your computer and use it in GitHub Desktop.
delete files older than

find /path/to/files* -mtime +5 -exec rm {} ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment