Created
April 13, 2021 16:52
-
-
Save sneycampos/986a3974e0a3244a0b29984f4f600b76 to your computer and use it in GitHub Desktop.
ubuntu - delete folders created 20d ago
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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