ubuntu中用命令行把文件移到回收站 move files to trash from command line

http://karuppuswamy.com/wordpress/2010/06/08/how-to-manage-trash-from-command-line-in-gnome-delete-list-restore-and-empty/
ubuntu中用命令行把文件移到回收站 move files to trash from command line

先安装一个包
sudo aptitude install trash-cli


It installs three commands,

1. list-trash             to list down the files in trash

2. trash                  to move the file to trash

3. restore-trash       to restore the file to original path




猜你喜欢

转载自blog.csdn.net/updog/article/details/6967589