X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Lilja <mindcooler@gmail.com>
Subject:  Equivalent of recycle bin?
Date:  Mon, 28 Jan 2008 10:22:11 +0100
Lines: 13
Message-ID: <fnk6s2$9lm$1@ger.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello, I messed up royally today when I was merging two bash scripts. 
When I was going to test if my argument handling worked I had forgot to 
comment out a call to "rm -f" that took a relative path and since the 
script wasn't executed where it was supposed to it removed several 
files. Many of those are easily replaced but some were source files that 
have been modified the past months and the last backup was from july 
23rd 2007. =/

I know I should robustify my script but I was wondering if there's an 
equivalent of the recycle bin I can use so I can easily restore files 
that were not supposed to be deleted?

- Eric


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

