delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/19/21:41:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: ejfried AT california DOT sandia DOT gov (friedman_hill ernest j)
Message-Id: <200007200139.SAA06878@california.sandia.gov>
Subject: Re: Getting back deleted files
In-Reply-To: <397656D5.9745B93B@cmr.uq.edu.au> from Ben Lawrence at "Jul 20,
2000 11:33:09 am"
To: Ben Lawrence <Ben DOT Lawrence AT cmr DOT uq DOT edu DOT au>
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>
X-Mailer: ELM [version 2.4ME+ PL65 (25)]
MIME-Version: 1.0

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 DOT Lawrence AT cmr DOT uq DOT edu DOT 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 AT sourceware DOT cygnus DOT com
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  ejfried AT ca DOT sandia DOT gov
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019