Score:0

Recover a file after empty Trash

id flag

How can I recover a file from Trash after I deleted it permanently from there?

I've tried many tools like "extundelete" and "foremost" but without success. If someone could give me step by step instructions I'd really appreciate it.

guiverc avatar
cn flag
https://help.ubuntu.com/community/DataRecovery
Score:2
cn flag

Using your current system might overwrite the location you want restored so if you used your machine after deleting it it could be unrecoverable. Stop using the disk, use a live session to clone your partition and have testdisk pr photorec examine the partition.

Using testdisk is pretty straightforward as it is fairly user friendly and suggests the likely option you need: pick a partition, set a filesystem (that will be ext4), and you let it scan. It will show a list and if the file is found you can make a copy.

photorec is basically similar: select partition, filesystem and have it scan for files. When found restore file.

There is not much more to it... besides the one thing that is fatal: using the partition that the file was deleted from. If the location of the file is re-used no tool will be able to restore the file.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.