This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting back deleted files


> --- Ben Lawrence <Ben.Lawrence@cmr.uq.edu.au> wrote:
> > Hello,
> > I have accidently used the rm *.* command in cygwin1.1.0 on NT.
> > Is there any chance of getting back my work?
> > thanks,
> > Ben
> >

Hello again,
I think it would be a real neat idea to modify the rm.exe so that
rm file.xxx
utility is actually
mv file.xxx c:/cygwin/tmp

Also, whenever rm is invoked it would check the current date and the date of all
the files in the c:/cygwin/tmp directory.  If all the files have yesterday's date
or earlier, it would delete that whole c:/cygwin/tmp directory.  That way, any
deleted files would be saved for at least a day.
regards,
Ben Lawrence
Centre for Magnetic Resonance
University of Queensland
Australia





--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]