Skip to content

Instantly share code, notes, and snippets.

@imchao9
Created May 11, 2016 03:23
Show Gist options
  • Select an option

  • Save imchao9/cc2d4c8cd426f804e44f178d5f6da704 to your computer and use it in GitHub Desktop.

Select an option

Save imchao9/cc2d4c8cd426f804e44f178d5f6da704 to your computer and use it in GitHub Desktop.
linux 删除指定时间内的文件
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