Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Wed, 19 Jul 2000 21:46:41 -0400
To: "cygwin@sources.redhat.com" <cygwin@sources.redhat.com>
Subject: Re: Getting back deleted files
Message-ID: <20000719214641.A22895@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: "cygwin@sources.redhat.com" <cygwin@sources.redhat.com>
References: <20000720001416.24779.qmail@web119.yahoomail.com> <397656D5.9745B93B@cmr.uq.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <397656D5.9745B93B@cmr.uq.edu.au>; from Ben.Lawrence@cmr.uq.edu.au on Thu, Jul 20, 2000 at 11:33:09AM +1000

On Thu, Jul 20, 2000 at 11:33:09AM +1000, 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.

I'm not sure whom you are addressing this to, but there is certainly nothing
stopping you from writing this utility.

Cygwin, being a UNIX emulation, is going to stay with emulating UNIX's rm command.

cgf

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

