Last active
April 19, 2019 00:57
-
-
Save medwig/ac60b3803caa34721c26bcb9c1310d6f to your computer and use it in GitHub Desktop.
Delete all files created n minutes ago - Linux
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 . -type f -cmin -1 # dry run | |
find . -type f -cmin -1 -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source
https://superuser.com/questions/116160/how-to-remove-all-files-that-created-n-minutes-ago-in-linux