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.

Filter by
Sorted by
Tagged with
21 votes
5 answers
116k views

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 ...
josinalvo's user avatar
  • 6,947
6 votes
1 answer
1k views

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 ...
preferred_anon's user avatar
4 votes
1 answer
3k views

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 ...
WinEunuuchs2Unix's user avatar
4 votes
2 answers
13k views

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. ...
php12345's user avatar
4 votes
2 answers
9k views

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 ...
Mehran's user avatar
  • 1,787
4 votes
1 answer
706 views

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 ...
BillyJean's user avatar
  • 947
4 votes
1 answer
11k views

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 ...
MInner's user avatar
  • 383
4 votes
0 answers
616 views

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 ...
Mehran's user avatar
  • 1,787
3 votes
1 answer
3k views

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:...
Anubhav's user avatar
  • 33
3 votes
1 answer
6k views

Accidentally deleted everything with GParted [duplicate]

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 ...
user640219's user avatar
3 votes
1 answer
130 views

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 ...
Annie's user avatar
  • 73
3 votes
1 answer
143 views

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 ...
pomsky's user avatar
  • 68.6k
2 votes
2 answers
649 views

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 ...
ALex M.'s user avatar
  • 23
2 votes
1 answer
1k views

How to reinstate videodev2.h in ubuntu 20.04

While building OpenCV I accidentally linked the wrong header file. Instead of linking videodeh.h like this : $ sudo apt-get install libdc1394-22 libdc1394-22-dev libxine2-dev libv4l-dev v4l-utils $ cd ...
Rafay Khan's user avatar
2 votes
1 answer
3k views

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 ...
user avatar
2 votes
1 answer
48 views

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 ...
Reza's user avatar
  • 1,235
2 votes
1 answer
6k views

Can I restore a folder that suddenly disappeared?

This sometimes occurs with my laptop when I physically close it. The laptop crashes. When I open it afterwards, the screen goes black. This time, I had some files open, and when I rebooted the laptop, ...
Or Nevo's user avatar
  • 21
2 votes
0 answers
1k views

Ext4magic not listing files properly in the Home dir

I'm trying to recover files and directories accidentally deleted from my home folder. I have ext4magic working, as I can create and then delete a test file in a subdirectory 'undeltest' and then ...
alchemy's user avatar
  • 762
1 vote
1 answer
9k views

How to recover a deleted user account

I have deleted a user account using the command userdel -r george. It deleted that user with their files. I need to restore that user and their files, is it possible? How can I achieve it?
George Ulahannan's user avatar
1 vote
1 answer
3k views

Folder from which to restore accidentally deleted files

Ubuntu 12.04. I accidentally deleted some files. I tried restoring them using nautilus, got an error message ("another backup operation in progress" - none that I started). From memory, isn't there ...
gnometorule's user avatar
1 vote
0 answers
715 views

How do I reinstall Ubuntu distro to wsl?

I accidentally deleted Ubuntu from my computer, later I installed Ubuntu 22.04 LTS and now I need to access my previous files. When I installed 22.04 LTS I couldn’t find my previous account but I can'...
heyAlanDev's user avatar
1 vote
0 answers
38 views

How to recover an overriten partition?

So I thought I try something fancy today and learn how to use the terminal to install a raspberry pi image on a flash drive. The result was not as I imagined. Apparently I've overwritten my partition ...
Flajt's user avatar
  • 21
1 vote
0 answers
62 views

Help! Accidently delete the bin file in the miniconda2. Can't restore from google drive, what should I do? [closed]

Tried update the Ubuntu system, and downloaded the miniconda3. But the python pipelines didn't work on the new conda environment. Still got the old miniconda2 file without bin file. What should I do?
ddd's user avatar
  • 11
1 vote
0 answers
392 views

Recover deleted files from ext4 - Ubuntu 18.04

Well, I finally did it. I noticed a folder of my original drawings going back 4 months was missing from its usual spot. With reference photos and palettes and all, there are maybe 700 files in that ...
LyNac's user avatar
  • 33
1 vote
0 answers
341 views

How to restore deleted files from zip archive?

2-3 days ago I was extracting files from zip archive and deleting already extracted folder. But for some reason archive manager deleted not yet extracted folders even though I hadn't selected them. ...
Kotaro Jujo's user avatar
1 vote
0 answers
450 views

16.04 Nautlius Shift-Del file recovery

The wrong folder was blasted with shift-delete in Nautilus. I have an older version of the folder, but gap between the two is significant. This article indicates that shift-delete is 'permanently' ...
gatorback's user avatar
  • 5,795
1 vote
0 answers
280 views

how to list deleted directory names in a path?

I accidentally deleted a directory in home folder, I don't want to recover it, I only want to make sure if I deleted the right directory. Is there any way to know the name of deleted directory in a ...
kenn's user avatar
  • 5,162
1 vote
1 answer
4k views

Recover deleted files in VeraCrypt container

I've got a partition that is encrypted using VeraCrypt. I accidentally deleted some files and would like to recover them. The main problem is that tools like ntfsundelete require a device to work. But ...
SeveQ's user avatar
  • 141
1 vote
1 answer
1k views

Recovery from Scalpel didn't show any recovered file

I have deleted some of my .odt files by mistake last night (near about 10 hours ago), and I had to recover those files as those were really important to me. I used scalepel for this purpose in which I ...
Swr7der's user avatar
  • 111
1 vote
2 answers
6k views

Recovery of data after "Erase disk and install Ubuntu"

I am new to Ubuntu. I have just installed Ubuntu on my system and unfortunately I have selected the "Erase disk and install Ubuntu"-option while installing the same. It has deleted all my previous ...
ラビナンダン's user avatar
1 vote
1 answer
107 views

Tried to clear trash and everything go removed! [duplicate]

I found a command online to clear the trash for you because I wanted to clear a file without doing it throught GUI. The command is sudo rm -rf ~/.local/share/Trash/* . I called it and saw the folder ...
The User's user avatar
  • 153
1 vote
0 answers
315 views

Recover Headerless Encrypted NTFS File Deleted in Ubuntu

My girlfriend had shift-deleted a "Folder Lock" encrypted locker file from my NTFS external drive using her Ubuntu PC. That file has <.flka> extension with NO known file signature. As far as I ...
clifford6ngr's user avatar
0 votes
1 answer
308 views

Moved from windows lost all my files - Any File recovery Tools

Previously i was using the windows 7. When i try to replace the windows to ubuntu i lost all of my other drive files. Is there any way to recover these files. I have my project files and some ...
user151010's user avatar
0 votes
1 answer
6k views

How to recover a deleted Folder(/Desktop in this case)

I have accidentally deleted(in a way) or I can say dislocated reference to my /home/user/Desktop directory , Is there any way to undo what I have done. The following Describes what I have done $ cp ...
Chinmaya B's user avatar
  • 6,132
0 votes
1 answer
1k views

Accidentally deleted gnome keyring from startup applications. How do I get it back?

I was trying to delete Microsoft teams from the list of startup applications but I accidentally deleted something else from the list instead. I think that the program I deleted from the list was SSH ...
user avatar
0 votes
2 answers
1k views

What are the contents of contents of ~/.local/share/Trash/expunged …?

I see the other thread on deleting the contents of ~/.local/share/Trash/expunged, I would like to know what those files are, I have 1 massive 108GB gz compressed file. Is that data? if I decompress ...
j0h's user avatar
  • 14.8k
0 votes
1 answer
77 views

I moved `/usr/share/gimp/2.0/` to trash and can't find it

I moved /usr/share/gimp/2.0/ to trash and now I can't find it. Is it gone because I moved it from a root owned directory to the trash? Is there a place I can download the file?
ubuntu_blenderer's user avatar
0 votes
1 answer
139 views

Deleted Ubuntu folder and emptied the trash [duplicate]

Well, that was stupid. I put in an old USB and wanted to delete all the files on it. I believed it was an old Ubuntu install USB, so without further thought I clicked on something that said Ubuntu on ...
Micke's user avatar
  • 1
0 votes
1 answer
94 views

Connecting a Ubuntu Device to a Windows Device

Is there any way to do this, for example through an Ethernet cable? I shift-deleted some files inadvertently on the Ubuntu device, and would like to run data recovery software on its file system from ...
Montmorency's user avatar
0 votes
1 answer
143 views

How to delete part-Frag file? [closed]

When I want to delete this file it shows an error like this: How to fix this error and delete that file?
I.Yulian's user avatar
0 votes
2 answers
9k views

Deleted files from my home folder. How to recover them?

I've deleted accidentally files from my home folder and need to recover them. How can I do that? I need a recovering software that points specifically to the folder where the files were deleted and ...
Rui Silva's user avatar
0 votes
1 answer
379 views

accidently deleted /usr/local/bin/youtube-dl

I accidently deleted /usr/local/bin/youtube-dl folder. Now I am unable to neither install nor update youtube-dl. How do I fix it or undo it ? I tried : sudo wget https://yt-dl.org/downloads/2016....
Sooraj S's user avatar
  • 1,101
0 votes
1 answer
4k views

Recovering SHIFT-DELETEd files?

I just shift-deleted some important pdf-files from my dual-boot system. The files were originally on Windows drive, but I deleted them from Ubuntu. I just used Foremost to recover, but it returns ...
Sadjad's user avatar
  • 1
0 votes
0 answers
31 views

How do I restore deleted files from rsync?

I used the following command rsync -avh --progress --remove-source-files --delete /mnt/disk-1/* /mnt/disk-2 I thought that delete would overwrite files in my destination directory. But instead, it ...
Marios T.'s user avatar
0 votes
0 answers
401 views

What is the best way to recover deleted zip files from a specific path when rlinux, photorec can't find them?

What is the best way to recover deleted zip files from a specific path ? I have 2 zip files previously stored in an ext drive in /dev/sda3 to be cut&pasted to home/user/Documents. These zip files ...
raisa_'s user avatar
  • 279
0 votes
0 answers
537 views

Deleted /dev/dm-0

So...I wanted to remove a swap file located in /dev/dm-0. I accidentally deleted the entire /dev/dm-0 directory instead of the swap file. Is there any way to reinstall it? I've tried installing ...
Ema's user avatar
  • 11
0 votes
1 answer
40 views

Ubuntu crashed after browser froze and I powered off. When I tried to reboot, everything was gone

As I said, I was listening to a podcast, browser froze, computer froze, I powered off and when I tried to reboot, everything seemed to be gone. I'm running Ubuntu 20.04. A couple other pieces of ...
Chefdaddy's user avatar
0 votes
0 answers
2k views

extundelete: what's the next step after "unable to restore"?

I have this 150Gb compressed file I accidentally deleted on an ext4 file system (running Ubuntu 16.04). Unfortunately, I only realized my mistake after a couple of days and about as many reboots. I ...
Opux's user avatar
  • 227
0 votes
1 answer
140 views

Just discovered that I lost a very important folder

I had a folder with some very important files in it. Overnight it somehow vanished. The diskspace is low on said drive ... it's a 1TB and running at about 90% capasity. They were personal files of my ...
Ernie Gilson's user avatar
0 votes
1 answer
95 views

Undelete files on only /home/ disk encryption

I recently installed xubuntu with /home/ encryption on one of my partitions. I would like to know: Can files deleted normally be recovered? How can I safely overwrite already deleted files in /home/? ...
L. Wat's user avatar
  • 1