读书人

linux下回收站效能软件

发布时间: 2014-01-08 00:30:58 作者: rapoo

linux下回收站功能软件
安装软件后,回收站目录一般在:
$HOME/.local/share/Trash
其中files目录保存已删除的文件,info目录保存已删除文件的信息。

卸载python安装的软件包:

python setup.py install --record install.txt # 安装时
cat install.txt | xargs rm -rf # 卸载时
务必在程序源代码目录保留install.txt文件,才能使用上述命令卸载。

基本命令有:
trash-put trashes files and directories.
trash-empty empty the trashcan(s).
trash-list list trashed file.
trash-restore restore a trashed file.
trash-rm remove individual files from trash can.
不同版本的命令稍有不同,可查看网页。

下载:
git clone https://github.com/andreafrancia/trash-cli.git

读书人网 >UNIXLINUX

热点推荐