Ubuntu資源回收筒,ubuntu資源回收筒在哪裡

來源:互聯網
上載者:User

Ubuntu資源回收筒,ubuntu資源回收筒在哪裡

以前刪除檔案經常Move to trash,今天想清空發現根本不知道資源回收筒在哪裡,囧。遂Google之,於是發現在 ~/.local/share/Trash目錄下。

開啟目錄看看有什麼東西:

➜  ~ cd .local/share/Trash ➜  Trash lsexpunged  files  info➜  Trash ls files 07271626117%3f%3f%3f%3f%3f%3f%3f%3f%3f.html➜  Trash ls info 07271626117%3f%3f%3f%3f%3f%3f%3f%3f%3f.html.trashinfo➜  Trash ls expunged ➜  Trash cat info/07271626117%3f%3f%3f%3f%3f%3f%3f%3f%3f.html.trashinfo [Trash Info]Path=/home/wang/Downloads/07271626117%253f%253f%253f%253f%253f%253f%253f%253f%253f.htmlDeletionDate=2016-08-08T10:27:26

Trash下共三個檔案夾,很容易看出來files下面是刪除的檔案,info下面是對應檔案的資訊,儲存了刪除的時間以及原路徑。而expunged是啥呢?

查了查expunged的意思 擦掉;刪掉;除去. 查了很多資料,大概下面的說法是正確的:

使用Nautilus(Ubuntu資源回收筒的實現工具)刪除了一個屬於你的檔案夾,但是裡邊包括一些不屬於你的檔案,此時會把檔案放在這裡

 

此處參考見:

http://blog.csdn.net/dslztx/article/details/46685959

http://askubuntu.com/questions/351400/deleting-contents-of-local-share-trash-expunged

 

資源回收筒位置參考自:http://blog.csdn.net/shichaosong/article/details/8245629

 

Orz,查了半天大家說的最多的是這裡有bug,好像本身linux不帶資源回收筒的功能,然後Ubuntu提供了這個功能為了讓win使用者適應一些

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.