Last active
August 9, 2016 18:11
-
-
Save gustavo-rodrigues-dev/f6512f9043ac61350ca6a9c2f05b130c to your computer and use it in GitHub Desktop.
Remove recusive file by extension or by time sh
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 . -name "*.DS_Store" -type f -delete |
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 ./fuel/app/logs -mtime +30 -type f -delete #remove all files into path by last modifition 30 days (-f only files) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment