Skip to content

Instantly share code, notes, and snippets.

@medwig
Last active April 19, 2019 00:57
Show Gist options
  • Save medwig/ac60b3803caa34721c26bcb9c1310d6f to your computer and use it in GitHub Desktop.
Save medwig/ac60b3803caa34721c26bcb9c1310d6f to your computer and use it in GitHub Desktop.
Delete all files created n minutes ago - Linux
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