Skip to content

Instantly share code, notes, and snippets.

@microwaves
Created September 19, 2019 09:10
Show Gist options
  • Save microwaves/fa359a2d2d21a632c92970e84f2b0285 to your computer and use it in GitHub Desktop.
Save microwaves/fa359a2d2d21a632c92970e84f2b0285 to your computer and use it in GitHub Desktop.
# Remove files older than 5 days
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