From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 23:57:53 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 2163537B401 for ; Sat, 7 Jun 2003 23:57:53 -0700 (PDT) Received: from web41509.mail.yahoo.com (web41509.mail.yahoo.com [66.218.93.92]) by mx1.FreeBSD.org (Postfix) with SMTP id B315B43FBD for ; Sat, 7 Jun 2003 23:57:52 -0700 (PDT) (envelope-from tradica@yahoo.com) Message-ID: <20030608065752.15242.qmail@web41509.mail.yahoo.com> Received: from [65.39.85.164] by web41509.mail.yahoo.com via HTTP; Sat, 07 Jun 2003 23:57:52 PDT Date: Sat, 7 Jun 2003 23:57:52 -0700 (PDT) From: Robert Bell To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: -- RE: -- undo a rm -rf - Correction X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rb@tradica.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 06:57:53 -0000 I had an extra / in the original post. Besure to replace as0s1a with the partition of the killed data. The copy file will grow to the available size of the partition, so make sure your destination has sufficient space # dd if=/dev/ad0s1a of=copy_of_ad0s1a -bs 512 # strings copy_of_ad0s1a > text_from_ad0s1a after that, open in a text editor or parse through. Goodluck Robert >This is the best solution I can recomend. >Provided you have not nuked the drive, you should be >able to extract config files, html files, and other >text data. > ># dd if=/dev/ad0s1a /of=copy_of_ad0s1a -bs 512 > ># strings copy_of_ad0s1a > text_from_ad0s1a > >after that, open in a text editor or parse through. >Goodluck >Robert > > > 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. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com