Article View: latrobe.linux
Article #13Re: Help!!!!!!!!!!!!!!!
From: Mitch Davis
Date: Fri, 26 Aug 1994 00:46
Date: Fri, 26 Aug 1994 00:46
32 lines
2195 bytes
2195 bytes
In article <Cv0z7D.Apr@latcs1.lat.oz.au>, Kamal Shaker <shaker@latcs1.lat.oz.au> wrote: >Help!!!! I just deleted all the stuff from a directory >and I need to get it back!!! Is there anyway?!?? > >Bloody rm *>o instead of rm *.o Commiserations. I've done that a couple of times, but fortunately, always on my MS-DOS and umsdos mounted partitions. I then reboot, and use undelete from DOS. Yes, it's a kludge. Three other things you can do, are: o alias rm to "/bin/rm -i". This won't affect any of your shell scripts, etc, because the alias is local to the interactive environment of your shell. Sure, you'll get the prompt for every file, and you won't feel quite so much like a power user, but it's insurance. o There are hooks and toggles in the ext2 fs code for undeleting files. They haven't been written yet, but don't let that stop you writing them. o run the strings(1) command on /dev/hd?? to try and find where the data is, and recover it that way. Alternatively, look at the ext2 with Norton Utilities under DOS (launch with the /M maintenance switch), and search for your data that way. Hope this helps your otherwise precarious position. Mitch.
Technical Details
Message-ID:
<Cv4A55.DLM@latcs1.lat.oz.au>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!news.duke.edu!convex!cs.utexas.edu!swrinde!ihnp4.ucsd.edu!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs2.lat.oz.au!davismReferences:
<Cv0z7D.Apr@latcs1.lat.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 135ade,c87746de72bc1f0c,start X-Google-Attributes: gid135ade,public X-Google-Thread: 102983,c87746de72bc1f0c,start X-Google-Attributes: gid102983,public X-Google-Thread: 100b1f,c87746de72bc1f0c,start X-Google-Attributes: gid100b1f,public X-Google-ArrivalTime: 1994-08-25 19:58:20 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!news.duke.edu!convex!cs.utexas.edu!swrinde!ihnp4.ucsd.edu!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs2.lat.oz.au!davism Newsgroups: latrobe.linux,aus.computers.linux,comp.os.linux.help Subject: Re: Help!!!!!!!!!!!!!!! Message-ID: <Cv4A55.DLM@latcs1.lat.oz.au> From: davism@latcs2.lat.oz.au (Mitch Davis) Date: Fri, 26 Aug 1994 00:46:17 GMT Sender: news@latcs1.lat.oz.au (news) References: <Cv0z7D.Apr@latcs1.lat.oz.au> Organization: Comp Sci, La Trobe Uni, Australia Lines: 32