Skip to content

Instantly share code, notes, and snippets.

@msh01
Last active February 10, 2018 01:47
Show Gist options
  • Save msh01/7e7052d779fa4a8f09274fcefee4662e to your computer and use it in GitHub Desktop.
Save msh01/7e7052d779fa4a8f09274fcefee4662e to your computer and use it in GitHub Desktop.
linux 防止误删文件

团队统一规定不允许用rm 命令,要删除文件,需要mv文件到指定目录(比如/delete)。然后设置一个定时任务,每周清空/delete/下文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment