Questions tagged [undelete]

Use this tag for questions about un-deleting data, such as if you accidentally delete something important. Also consider using the [data-recovery] tag.

61 questions
21
votes
5 answers

undelete files on ext4

My mother has placed some important files on her /tmp per accident. Now, of course, they are gone. This happened yesterday (2 boots of the machine since) I want to try to undelete the files. They were on /tmp, which was on the same partition as the…
josinalvo
  • 7,017
6
votes
1 answer

Accidentally removed $HOME/bin

I accidentally removed my ~/bin directory. I have seen plenty of questions asking what to do if /usr/bin is removed, and that situation seems to be much more serious. What can I do to reconstruct the folder?
5
votes
1 answer

Prevent `dd` from destroying SSD or HDD

I have two SSD's and on HDD. When I use sudo dd if=/dev/zero of=/dev/sdd count=1000 good things happen and I erase partitions from my USB flashdrive. When I use sudo dd if=/dev/zero of=/dev/sdb count=1000 bad things happen and I loose Windows 7 and…
4
votes
1 answer

rabbitsvn deleted **all** my folders?

I was working with rabbitsvn and trying to export a file from an older revision, when suddenly all programs in the background just shut down. I go to my "Home"-folder to find out that all (!!) my folders and data except a single one has been…
BillyJean
  • 977
4
votes
1 answer

Undelete: Access is denied because the NTFS volume is already exclusively opened

I need to restore some files deleted from pratition. ben@ben-V5-171:~$ sudo ntfsundelete /dev/sdb1 Access is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could…
MInner
  • 383
4
votes
2 answers

undelete files on ext4 with folder structure and everything

I've accidentally removed all my home directory (don't judge!). My early search results led me to applications like extundelete and photorec. But the results were not acceptable. extundelete exits unexpectedly (without doing anything) and photorec…
Mehran
  • 1,827
4
votes
0 answers

Undelete files on an ext4 partition in-place

I've just removed most of the files in my home directory accidentally, using rm -f command. Anyway, I searched and found some of the tools for recovering deleted files, like extundelete, foremost and photorec. The problem is that I don't have an…
Mehran
  • 1,827
4
votes
2 answers

How to undelete files and folders that have been deleted using shift+delete

I'm using Ubuntu 16.04. I mistakenly shift+deleted files and folders in my Documents folder. I'm trying to use extundelete utility but which is not helping me. I don't know which sda* to be used. Please help me out with this. $ sudo extundelete…
3
votes
1 answer

Accidentally deleted everything with GParted

I wanted to format my USB stick in GParted and didn't see that my Computer drive was selected, so I ended up with this: I'm still logged in and everything is working right now. So... Is this my last log in (& I can say farewell to the system) or is…
3
votes
1 answer

How to restore '/usr/lib/gcc/*'

On Ubuntu 16.04, I accidentally deleted my /usr/lib/gcc dir. I tried to reinstall gcc but the dir won't be created again. How do I restore. ~$ dpkg -S /usr/lib/gcc gcc-5-base:amd64, libgcc-5-dev:amd64, cpp-5, gcc-5, gcc-6-base:amd64: /usr/lib/gcc
Anubhav
  • 33
3
votes
1 answer

How can I undo restoring files from the trash or get the list of the restored files?

I accidentally restored a set of files (around 15-20 in total) from the trash, instead of deleting them (sic). Is there a way to undo this process or to find which files were restored to which directory, so that I can then delete those unnecessary…
pomsky
  • 70,557
3
votes
1 answer

Deleted by mistake

I deleted a huge folder containing mp3 & mp4 songs by mistake. I thought it will be in trash but when I opened it, the folder wasn't there but when I opened the properties of trash I saw that it contained +2000 folders of 55 GB. The files are not…
Annie
  • 73
2
votes
1 answer

Deleted files in use

I have checked that deleted files are still in use by the command sudo find /proc/*/fd -ls | grep '(deleted)' And I have been able to check for deleted files that are still in use. Why does this occur? Is there any way to delete them permanently?.
user641576
2
votes
2 answers

How can I get files back after moving them to the Documents folder in a live environment?

I have launched a live CD session (Ubuntu 8.04) from a USB key on my laptop where Windows XP is installed. During this session I moved various files from Windows XP folders to the Documents folder located on the Ubuntu desktop. Then I removed the…
ALex M.
  • 23
2
votes
1 answer

How to determine if every file in a folder (and its subfolders) exists in another folder

Folder B is obtained from (a copy of) folder A by an undelete application such as extundelete and therefore its structure is messed up. How can I determine if every file in B and its subfolders exists somewhere in A as well? Here I'm assuming files…
Reza
  • 1,255
1
2 3 4 5