From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 16:16:23 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 5123737B401 for ; Sat, 7 Jun 2003 16:16:23 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 884D443FAF for ; Sat, 7 Jun 2003 16:16:22 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 38870 invoked by uid 1001); 7 Jun 2003 23:18:02 -0000 Date: Sat, 7 Jun 2003 16:18:02 -0700 From: Joshua Oreman To: Robert Storey Message-ID: <20030607231802.GC33898@webserver.get-linux.org> References: <001201c32cab$7a968360$0200a8c0@hades> <20030607043646.GA27879@webserver.get-linux.org> <20030607174520.30c72302.y2kbug@ms25.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030607174520.30c72302.y2kbug@ms25.hinet.net> User-Agent: Mutt/1.4.1i cc: 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 23:16:23 -0000 On Sat, Jun 07, 2003 at 05:45:20PM +0800 or thereabouts, Robert Storey seemed to write: > On Fri, 6 Jun 2003 21:36:46 -0700 > Joshua Oreman wrote: > > > On Sat, Jun 07, 2003 at 12:15:50AM -0400 or thereabouts, David Loszewski > > seemed to write: > > > 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. > > On Linux, I've installed Libtrash, a "trashcan" which works even at the console. I think it's just a series of scripts, but it works superbly. I tried installing it on FBSD, but it failed to compile, exiting with this error message: > > /usr/bin/ld: cannot find -ldl > *** Error code 1 > > If I knew what I was doing, I'd surely try to port Libtrash to FBSD. Sadly, I'm not a knowledgeable developer, just a dumb user. If anyone is interested: > > http://www.m-arriaga.net/software/libtrash/ That's me, I'm interested (and a knowledgable quasi-developer :-) To get it to compile, remove all occurences of -ldl from src/Makefile. However, then it coredumps on any open() call and doesn't move stuff to the trash :P I'm working on it. -- Josh > > regards, > Robert > _______________________________________________ > 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"