如果在誤刪了檔案之後想要救回來的話,但您又沒有啟動 LibTrash 時,那只能說是糟其大糕了。這時,您只能使用像是 recover 這類的工具,能救多少算多少了。詳細操作方式請參考 recover 的操作手冊。

而 gtkrecover 則是 recover 的 GUI 介面。

還有一個 e2undel 套件也可以用來回復己刪除的檔案。

請注意:基於安全上的考量,ext3 無法 Undelete 檔案!這是官方文件 Linux ext3 FAQ 的說明:

Q: How can I recover (undelete) deleted files from my ext3 partition?

Actually, you can't! This is what one of the developers, Andreas Dilger, said about it:

In order to ensure that ext3 can safely resume an unlink after a crash,
it actually zeros out the block pointers in the inode,
whereas ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted"
and leaves the block pointers alone.

Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.

如果不幸事件發生在 ext3 的磁碟分割區時,只好使用 dd + ghex 看能救多少算多少了。