zoukankan      html  css  js  c++  java
  • Ubuntu's Trash

    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/*
        

  • 相关阅读:
    HTML表单
    CSS等高布局的6种方式
    HTML用户反馈表单
    HTML美化修饰<A>
    sql查询语句 --------一个表中的字段对应另外一个表中的两个字段的查询语句
    jq 表格添加删除行
    js 静止f1到f12 和屏蔽鼠标右键
    手机自适应页面的meta标签
    tp3.2 的验证码的使用
    php多线程抓取网页
  • 原文地址:https://www.cnblogs.com/weiyinfu/p/4947349.html
Copyright © 2011-2022 走看看