Click to See Complete Forum and Search --> : Undelete files...help!


thephreak6
11-29-2001, 07:07 PM
I just realized a minor mistake I made....I deleted everything in my download/backup directory (500megs or more). :eek: I accidently did rm test/ * -R -f instead of rm test/* -R -f,,,,now its all gone. oops.

Is there any way to get my files back? or just start downloading again? :confused:

AdaHacker
11-29-2001, 08:26 PM
Sorry, but you should probably start downloading now.
In general when you accidentally delete something in Linux, you're out of luck. If you check out the Tips-HOWTO (I can't find a URL right now - sorry), they do have a sections called "Desperate Undelete". Unfortunately, that is geared toward text files, but you may be able to adapt it. It's a real long shot, though, with other types of files. I recall hearing of a couple other ways to do it, but I don't remmeber much about them. They were kind of long shots too.
Good luck. You're gonna need it.

Stween
11-30-2001, 07:45 PM
Try http://freshmeat.net/search/?site=Freshmeat&q=undelete&section=projects and see if u can get anything decent there.

I undelted around 300Megs of MP3's once. Some of them were screwed, but that was mainly from writing data over the top of them rather than the process being difficult.

i cant remember what software i used, but bear in mind this is a little more in depth than any undelete u'll find for windows. i had to learn all about inodes to retrieve files. in fact, i had to learn what an inode was first :)


Good luck

Stween

Malakin
11-30-2001, 08:10 PM
If you're using ext2 and probably ext3 undeleting is fairly easy from what I understand. If you're using another filesystem it might be impossible, well unless you want to write your own tools to do it of course :)

I deleted some stuff by accident once using reiser fs and was pretty much screwed. Fortunately it wasn't anything I couldn't replace (/usr/local/bin) oops :)

TacKat
12-01-2001, 05:18 PM
:\

And this is why I never use the force option.