Date: Fri, 9 Aug 1996 15:31:18 +0000 (GMT) From: Gabor Zahemszky <zgabor@CoDe.hu> To: freebsd-questions@freebsd.org Cc: durang@u.washington.edu Subject: Re: is there an undelete? Message-ID: <199608091531.PAA02401@CoDe.CoDe.hu> In-Reply-To: <Pine.A32.3.92a.960808170430.66828A-100000@homer04.u.washington.edu> from "Ken Marsh" at Aug 8, 96 05:06:35 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Is there an undelete type utility for FreeBSD which will recover files > deleted with the rm command? Well: 1) You cannot undelete files under Unices. 2) You cannot undelete files under Unices. 3) You cannot undelete files under Unices. 2) You can make a very little script, eg: $ cat /bin/myrm #!/usr/local/bin/ksh mkdir $HOME/.trashcan 2>/dev/null for i do j=${i%%[!/]*} j=${j##$HOME} mkdir -p $HOME/.trashcan/$j 2>/dev/null mv ${i##$HOME} $HOME/.trashcan/$j done or something like this (Hey! I just write it, and didn't make any test in it, so BEWARE!) 3) If I remember well, somewhere in past, there were something named Project Athena, and if I'm right, there were something named undelete in it. Search for it somewhere in the net. Maybe archie? Bye, Gabor -- Gabor Zahemszky <zgabor@CoDe.hu> -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608091531.PAA02401>