delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/28/04:23:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT 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
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


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