Skip to content

Instantly share code, notes, and snippets.

@vitamin
Created April 19, 2013 09:13
Show Gist options
  • Save vitamin/5419128 to your computer and use it in GitHub Desktop.
Save vitamin/5419128 to your computer and use it in GitHub Desktop.
#del dir being changed 10 days ago in depth 2
find . -maxdepth 2 -mindepth 2 -type d -mtime +10 -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment