Skip to content

Instantly share code, notes, and snippets.

@shmaltorhbooks
Created February 7, 2017 08:23
Show Gist options
  • Save shmaltorhbooks/a3f4ec139acecde479223252ef624b10 to your computer and use it in GitHub Desktop.
Save shmaltorhbooks/a3f4ec139acecde479223252ef624b10 to your computer and use it in GitHub Desktop.
Delete files older that 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