Created
May 11, 2016 03:23
-
-
Save imchao9/cc2d4c8cd426f804e44f178d5f6da704 to your computer and use it in GitHub Desktop.
linux 删除指定时间内的文件
This file contains hidden or 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 -atime -300 -print -maxdepth 1 -exec rm {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment