Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Date: Wed, 19 Jul 2000 18:39:29 -0700 (PDT) CC: "cygwin AT sources DOT redhat DOT com" X-Mailer: ELM [version 2.4ME+ PL65 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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