We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在一次手快 rm -rf /* 之后,发现全完了...
rm -rf /*
遂决定根除隐患,发现 mac 下有废纸篓的概念,可以对 rm 命令进行修改,将删除的文件放到废纸篓里。
下载 trash 代替 rm -rf
trash
rm -rf
brew install trash
别名替换 rm 命令,一劳永逸
rm
alias rm=trash
这样就可以在废纸篓里面寻回误删文件了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在一次手快
rm -rf /*
之后,发现全完了...遂决定根除隐患,发现 mac 下有废纸篓的概念,可以对 rm 命令进行修改,将删除的文件放到废纸篓里。
下载
trash
代替rm -rf
别名替换
rm
命令,一劳永逸alias rm=trash
这样就可以在废纸篓里面寻回误删文件了
The text was updated successfully, but these errors were encountered: