Linux下rm命令删除了就直接没了,不像Windows存储在回收站中。在此用Shell脚本实现回收站功能。
参考源码见:https://github.com/zhangruizhru/shell_git