Linked Questions
32 questions linked to/from Recover deleted files on Linux
-4
votes
1
answer
27k
views
How to Check the location of a deleted file in CentOS Linux distribution? [duplicate]
I have deleted a file and now I want it on the same place from where I have deleted? How I can check that deleted file in my system from CLI?
I tried find command but end up nothing.
0
votes
1
answer
10k
views
How to recover the deleted file from linux system? [duplicate]
I am using centos7 locally. Mistaken I deleted text file(keystone.conf.disabled) using rm, from /etc/httpd/conf.d directory, How to recover this file. This file is very important to me. Please help me....
0
votes
1
answer
8k
views
Accidentally rm -r the wrong etc folder... Help? [duplicate]
I managed to accidentally rm -r the wrong etc file in Ubuntu 14.0.4 Desktop. I also decided I would set up encryption on my home folder (Another mistake).
Is there any way for me to restore the ...
0
votes
1
answer
5k
views
How do I simply recover the only file on an empty disk just deleted? [duplicate]
Usually, the best way to recover a deleted file is to have backups and that, if the backup failed, you should immediately remount the drive read-only. (See this thread: How to recover a file just ...
1
vote
0
answers
2k
views
How to recover: Deleted accidently important files [duplicate]
I've accidentally deleted today the /var/www with 2 Joomla-Homepages on it. Is there any possibility to recover all these files? I'm using PhotoRec right know, but the recovered files are named like: ...
1
vote
1
answer
1k
views
Image backup with deleted files [duplicate]
I have accidentally deleted some files. With rm. It seems recovery is not so easy on Linux.
Is it some way I can do a image backup including the lost files (If they still exist)?
I should know the ...
0
votes
0
answers
114
views
I accidentally overwrote a text file. Anything I can do? [duplicate]
I had a somewhat important file stats.txt, which I accidentally overwrote through a Matlab script (dlmwrite('stats.txt',...)). Is there anything I can do to recover this information? It comes from ...
79
votes
11
answers
124k
views
Extend a LUKS encrypted partition to fill disk
I recently upgraded my disk from a 128GB SSD to 512GB SSD. The / partition is encrypted with LUKS. I'm looking for help extending the partition to use all the free space on the new disk. I've ...
57
votes
8
answers
173k
views
How to find the type of an img file and mount it?
I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is?
# mount -t auto -o ro,loop gmapsupp.img /mnt/iso/
mount: you must specify the ...
74
votes
4
answers
326k
views
undelete a just deleted file on ext4 with extundelete
Is there a simple option on extundelete how I can try to undelete a file called /var/tmp/test.iso that I just deleted?
(it is not so important that I would start to remount the drive read-only or such ...
17
votes
1
answer
4k
views
How can I change a file to a directory? Files lost after find+mv
I had a directory containing some 2000 files.
I ran the following command to move those 2000 files into a target directory:
find /opt/alfresco \
-type f \( -iname \*.pdf -o -iname \*.xml \) \
...
10
votes
3
answers
40k
views
How to recover xfs data after rm?
Is it possible to recover files that have been rm'ed from an XFS filesystem? How can I recover any files assuming they haven't been overwritten?
Edit:
The existing questions regarding this topic are ...
14
votes
3
answers
9k
views
How to recover deleted crontab
I was trying to edit crontab in the terminal, and I accidentally typed crontab -r instead of crontab -e. Who would figure such dangerous command would sit right next to the letter to edit the crontab? ...
5
votes
2
answers
7k
views
Accidentally removed a libvirt image file, can I recreate it?
I accidentally removed the wrong image file in my /var/lib/libvirt/images directory. I'm not sure how to recreate one or to undo my removal. Any hints?
5
votes
1
answer
3k
views
Unable to untar file after tar error
After unsuccessful attempt to make a tar.gz file I can't untar the file. It seems like I have lost it and yet this looks like trivial error one should be able to recover from. Is the content of the ...