This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Getting back deleted files
- To: Ben Lawrence <Ben dot Lawrence at cmr dot uq dot edu dot au>
- Subject: Re: Getting back deleted files
- From: ejfried at california dot sandia dot gov (friedman_hill ernest j)
- Date: Wed, 19 Jul 2000 18:39:29 -0700 (PDT)
- CC: "cygwin at sources dot redhat dot com" <cygwin at sources dot redhat dot com>
Cautious UNIX folk often alias rm to rm -i, so that rm always asks you
"if you're sure you want to do that." You must remember that other
folks -don't- want the behaviour you've described. The nice thing about
the UNIX environment is that you can customize things the way you'd
like them. So add
alias rm="rm -i"
to your .bashrc file.
I think Ben Lawrence wrote:
> > --- 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
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 ejfried@ca.sandia.gov
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com