Skip to content

Instantly share code, notes, and snippets.

@sneycampos
Created April 13, 2021 16:52
Show Gist options
  • Save sneycampos/986a3974e0a3244a0b29984f4f600b76 to your computer and use it in GitHub Desktop.
Save sneycampos/986a3974e0a3244a0b29984f4f600b76 to your computer and use it in GitHub Desktop.
ubuntu - delete folders created 20d ago
find . -maxdepth 1 -type d -mtime +20 -exec rm -rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment