find /path/to/files* -mtime +5 -exec rm {} ;
Created
December 21, 2016 13:46
-
-
Save ctrlShiftBryan/95fbd90d8076701119ad90e78465bfe8 to your computer and use it in GitHub Desktop.
delete files older than
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment