View previous topic :: View next topic |
Author |
Message |
posthuman_5 Apprentice
Joined: 25 Feb 2004 Posts: 154 Location: San Juan, PR
|
Posted: Sat Jul 03, 2004 4:01 am Post subject: Remaving Accident |
|
|
Hi LOL this fill sound very stupid but i accidently when trying to remove a file i typed the asterisk (*) symbolwhen trying to press the "-" symbol, i pressed enter but i DID NOT checked if i typed everything correctly..LOL so i lost ALL MY IMPORTANT FILES.Like Music,family pictures,job documents and THOSE FILES A EXTREMELY IMPORTANT, especially the job ones! :'(
The command i typed accidetanly waS
rm -fr *
SO is there any way i can recover those files?? |
|
Back to top |
|
|
tapted Tux's lil' helper
Joined: 02 Dec 2003 Posts: 122 Location: Sydney, Australia
|
Posted: Sat Jul 03, 2004 5:29 am Post subject: |
|
|
unlikely... unless you have a backup.
ext2/3/reiser is not like FAT, so there's a chance that the physical space on the drive has already been reclaimed.
There are tools that attempt to recover data directly from physical patterns on the drive ... but all the free/trialware ones I've seen only support FAT and NTFS.
Otherwise, there exist security companies that can attempt to recover the data for you, but at great cost.
There is a gentoo package called 'testdisk' that undeletes partition tables, but it does not look like it recovers things deleted from the allocation table. Their homepage is http://www.cgsecurity.org/ -- you might find a link from there to something you want.. but I don't rate your chances.
Moo. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Jul 03, 2004 5:38 am Post subject: |
|
|
Ouch. Doesn't help you now, but you might consider an alias to use the -i option (prompt for confirmation). 'man rm' for more details.
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
jtaylor72 Apprentice
Joined: 01 Feb 2004 Posts: 197 Location: "the can", WA
|
Posted: Sat Jul 03, 2004 6:00 am Post subject: |
|
|
I accidentally ran mke2fs on a reisefs partition the other night, hda1 when I meant to do sda1. Anyway, after many hours of searching the net, I found this page...
http://forums.infoprosjoint.net/showthread.php?p=75262#post75262
It shows how to recover data from a reiserfs partition. I used the second approach he describes, and I got all of my files back. Definitely back up your data that is still there is your going to do this. |
|
Back to top |
|
|
|