After the recovery... - WAS [RE:Undelere]

Gene Dascher gedascher at multiservice.com
Thu Jan 17 21:27:31 CST 2002


This is for AFTER you find the file(s) that you deleted:

I have a directory that I call trash in my home directory; I have mapped rm
to a shell script called del that moves the deleted file(s) to the trash
directory, renames the file with the date and time that it was deleted, and
compresses the file.  That way, I have a record of the files I delete.  Then
I have a cron job that fires off every night and deletes any files out of
the trash that are older than 7 days.  I started doing this at work after a
co-worker accidentally ran rm -rf * in his projects directory!  Luckily we
had backups from the night before, but he lost EVERYTHING that he had done
that day.

Gene

> -----Original Message-----
> From: owner-kclug at marauder.illiana.net
> [mailto:owner-kclug at marauder.illiana.net]On Behalf Of Peter C. Norton
> Sent: Thursday, January 17, 2002 3:10 PM
> To: nylug-talk at nylug.org; kclug at kclug.org
> Subject: Re: [nylug-talk] Undelete?
>
>
> But before you download a program or anything, do what jay said and make
> sure that parition isn't written to.  Or else your file will be gone.
>
> -Peter
>
> On Thu, Jan 17, 2002 at 04:00:19PM -0500, David Blackman wrote:
> >
> > On Thu, Jan 17, 2002 at 12:27:04PM -0800, jose sanchez wrote:
> > > Hello:
> > >
> > > Is there an utlity for Linux like undelete for DOS?
> > >
> > > I deleted some files I need back. How, if possible,
> > > can I get these back?
> >
> > 'recover' it'll ask you a bucnh of questions about when you deleted the
> > file, the size, the partitio, that srtof stuff, then you wait.
> >
> > 'grecover' is just recover but it's a gui (same questions, just
> > graphical, it's rather silly, the command lien version I find easier to
> > use)
> >
> > --dave
> >
> > "When I think back on all the crap I learned in high school,
> > It's a wonder I can think at all" -- Paul Simon
> >
> > _______________________________________________
> > nylug-talk mailing list
> > nylug-talk at nylug.org
> > http://herzl.nylug.org/mailman/listinfo/nylug-talk
>
> --
> The 5 year plan:
> In five years we'll make up another plan.
> Or just re-use this one.
>
>




More information about the Kclug mailing list