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 Message-ID: <397656D5.9745B93B@cmr.uq.edu.au> Date: Thu, 20 Jul 2000 11:33:09 +1000 From: Ben Lawrence Organization: University of Queensland X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 CC: "cygwin AT sources DOT redhat DOT com" Subject: Re: Getting back deleted files References: <20000720001416 DOT 24779 DOT qmail AT web119 DOT yahoomail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > --- 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