From owner-freebsd-questions Thu Jan 23 5:27:34 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 456BD37B405 for ; Thu, 23 Jan 2003 05:27:33 -0800 (PST) Received: from mail.zoper.com (mail.zoper.com [198.78.65.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9608843F3F for ; Thu, 23 Jan 2003 05:27:32 -0800 (PST) (envelope-from list@zettai.net) Received: (qmail 28281 invoked by uid 7794); 23 Jan 2003 13:27:20 -0000 Received: from list@zettai.net by mail.zoper.com by uid 89 with qmail-scanner-1.15 (clamscan: 0.53. spamassassin: 2.43. Clear:SA:0(-1.4/5.0):. Processed in 16.286235 secs); 23 Jan 2003 13:27:20 -0000 Received: from unknown (HELO ?63.74.24.25?) (list@zettai.net@63.74.24.25) by 0 with SMTP; 23 Jan 2003 13:27:04 -0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.5 Date: Thu, 23 Jan 2003 08:27:05 -0500 Subject: Re: recover overwritten file From: george donnelly To: talon Cc: Message-ID: In-Reply-To: <3E2F7415.4030807@datastorm.kicks-ass.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Status: No, hits=-1.4 required=5.0 tests=IN_REP_TO,SPAM_PHRASE_00_01,TO_LOCALPART_EQ_REAL, USER_AGENT,USER_AGENT_MACOE version=2.43 X-Spam-Level: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [talon commented on 1/22/03 11:48 PM] > ----------------------------------------------------------------------------- > Iv been there :) > > This probably sounds stupid but i do it ... > > file name /bin/rmx > > #/bin/sh > cp $1 /tmp/`$1` > rm -r $1 > > I call it the recycle bin LoL Thanks for everyone's comments. I got mighty lucky as I had a 5 minute old copy of the file hanging around on another disk. And as someone mentioned, I did learn a very important lesson. Wow. btw I think your recycle bin is a good idea and am going to implement it. <--> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:george@zettai.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message