From owner-freebsd-questions@FreeBSD.ORG Fri Jun 6 23:46:52 2003 Return-Path: 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 C7DA037B401 for ; Fri, 6 Jun 2003 23:46:52 -0700 (PDT) Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 039C943FAF for ; Fri, 6 Jun 2003 23:46:52 -0700 (PDT) (envelope-from foob@purdue.edu) Received: from herald.cc.purdue.edu (localhost [127.0.0.1]) h576konc026245; Sat, 7 Jun 2003 01:46:50 -0500 (EST) Received: from localhost (foob@localhost)h576knsN026235; Sat, 7 Jun 2003 01:46:49 -0500 (EST) X-Authentication-Warning: herald.cc.purdue.edu: foob owned process doing -bs Date: Sat, 7 Jun 2003 01:46:49 -0500 (EST) From: Bingrui Foo X-X-Sender: foob@herald.cc.purdue.edu To: David Loszewski In-Reply-To: <001201c32cab$7a968360$0200a8c0@hades> Message-ID: References: <001201c32cab$7a968360$0200a8c0@hades> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: undo a rm -rf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 06:46:53 -0000 I don't think you can. But just in case it ever happens again, I know my school's unix computers have a 'unrm' command that works. Because destroying files using 'rm' 'mv' 'cp' will put the files in a special directory for 24 hours. Sure there is some way to add this command in and modify the other ones.. Don't know how though. Guess it's not too hard to modify the source code. Foo On Sat, 7 Jun 2003, David Loszewski wrote: > I just did a rm -rf and forgot the *.png portion that I wanted on it, lol, 2 years of using freebsd and I've never done anything this stupid. Is there a way to get my data back? Please respond to this email address. > > Dave > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >