Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-21-2012, 09:23 PM
|
#1
|
Member
Registered: Jun 2011
Location: oMNipre$ent
Distribution: fedora
Posts: 511
Rep:
|
how to restore a file deleted just 5 min ago...
i was tweaking with a mkv file for 2 hours and accidentally deleted it 5 min ago...nothing has been changed...no log out...no update...nothing so far.
is there any way i can get that file?
please help me asap..
Last edited by dEnDrOn; 06-21-2012 at 09:27 PM.
|
|
|
06-21-2012, 11:07 PM
|
#2
|
Member
Registered: Jul 2009
Distribution: Ubuntu, RedHat, VMWare, CentOS, Windows, Android, Mac
Posts: 55
Rep:
|
Unfortunately file once deleted is deleted. No way you can recover them using Unix. Maybe some third party tools .. But am not aware of any...
|
|
|
06-22-2012, 01:50 AM
|
#3
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,419
|
1. stop using that partition
2. try photorec and/or testdisk
|
|
|
06-22-2012, 06:57 AM
|
#4
|
Member
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278
Rep:
|
What file system are you using? Use the command 'mount' to find out. I use reiser fs and when I had this problem I used 'reiserfsck --rebuild-tree' Read the man pages but be careful, it has an element of danger (apparently).
BashTin.
|
|
|
06-22-2012, 07:03 AM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667
|
well this time you might be out of luck .
As chrism01 pointed out
you you STOP right then and there and DO NOT use that partition or download anything -- you STOP
if / or /home
do not even log out or turn off the machine
then use photorec
now for "system rescue cd " burn a copy and for next time
http://www.sysresccd.org/SystemRescueCd_Homepage
you do need to reboot
and keep a copy of extundelete installed
http://extundelete.sourceforge.net/
however it can ONLY be used on an UNMOUNTED partition
|
|
|
All times are GMT -5. The time now is 04:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|