Ubuntu's Trash
2015-11-08 15:01
232 查看
1.Location
Where is Trash?
/home/userName/.local/share/Trash
2.Under Trash
Three files:
info :The deleted files info is here.Include path and date.
files :The files you deleted is here
expunged :It's always empty.
If the file in "files" has no corresponding info in "info",the application don't know how to restore the file.
If you create "haha.txt" in "files",you'll see this file in the file browswer.But you cannot restore "haha.txt" because it has no corresponding info in "info".So you can create "haha.txt.info" in "info" according to certain format.Althought you created this info,you cannot restore "haha.txt" still.Because this is a bug.The trash file browswer only read once "info" when you Log in this computer.When you delete something,the trash file browswer also update its info.If you log out and then login ,you'll find you can restore "haha.txt" now.
If you delete a file "a.txt",you can see "a.txt" in "files" and "a.txt.trashinfo" in "info".If you delete "a.txt.trashinfo",you can still restore a.txt.This seems very strange.This's a bug:The trash browser only update its info when you login and when you delete somefile.
3.Empty the Trash
rm info/*
rm files/*
Where is Trash?
/home/userName/.local/share/Trash
2.Under Trash
Three files:
info :The deleted files info is here.Include path and date.
files :The files you deleted is here
expunged :It's always empty.
If the file in "files" has no corresponding info in "info",the application don't know how to restore the file.
If you create "haha.txt" in "files",you'll see this file in the file browswer.But you cannot restore "haha.txt" because it has no corresponding info in "info".So you can create "haha.txt.info" in "info" according to certain format.Althought you created this info,you cannot restore "haha.txt" still.Because this is a bug.The trash file browswer only read once "info" when you Log in this computer.When you delete something,the trash file browswer also update its info.If you log out and then login ,you'll find you can restore "haha.txt" now.
If you delete a file "a.txt",you can see "a.txt" in "files" and "a.txt.trashinfo" in "info".If you delete "a.txt.trashinfo",you can still restore a.txt.This seems very strange.This's a bug:The trash browser only update its info when you login and when you delete somefile.
3.Empty the Trash
rm info/*
rm files/*
相关文章推荐
- Ubuntu 14.04.1中安装JDK
- (一)线性回归与特征归一化(feature scaling)
- Ubuntu's Trash
- 清除浮动(clear float)
- mysql性能优化
- Hive安装及使用攻略
- sar 命令
- 【重要】python之模块CGI 通用网关接口
- [LeetCode] Single Number III
- 关于解决未在计算机注册Active控件或者没有Active控件的解决方法
- hadoop(2.x)以hadoop2.2为例完全分布式最新高可靠安装文档
- smarty 在linux 下display 显示空白
- swift学习Day05
- DP--最长上升子序列
- 地理编码和反地理编码
- Android Service和Thread的区别
- Python pickle 的 dump() & load()
- 用Gparted调整ubuntu磁盘分区
- lightoj 1245 - Harmonic Number (II) 【数学 计数】
- 第三章 分支结构程序