From owner-freebsd-chat  Thu Jan 23 16:34:35 2003
Delivered-To: freebsd-chat@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5F20A37B401
	for <freebsd-chat@FreeBSD.ORG>; Thu, 23 Jan 2003 16:34:34 -0800 (PST)
Received: from ariel.ucs.unimelb.edu.au (ariel.ucs.unimelb.edu.au [128.250.20.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id F06B643E4A
	for <freebsd-chat@FreeBSD.ORG>; Thu, 23 Jan 2003 16:34:32 -0800 (PST)
	(envelope-from jrhoden@unimelb.edu.au)
Received: from elkanah.its.unimelb.edu.au (elkanah.its.unimelb.edu.au [128.250.18.41])
	by ariel.ucs.unimelb.edu.au (8.12.3/8.12.3) with ESMTP id h0O0YV3J014525
	for <freebsd-chat@FreeBSD.ORG>; Fri, 24 Jan 2003 11:34:31 +1100 (EST)
Content-Type: text/plain;
  charset="iso-8859-1"
From: JacobRhoden <jrhoden@unimelb.edu.au>
Organization: University of Melbourne
To: freebsd-chat@FreeBSD.ORG
Subject: Re: recover overwritten file
Date: Fri, 24 Jan 2003 11:34:31 +1100
X-Mailer: KMail [version 1.4]
References: <200301232258.h0NMwlaX006708@grimreaper.grondar.org> <200301241004.46881.jrhoden@unimelb.edu.au>
In-Reply-To: <200301241004.46881.jrhoden@unimelb.edu.au>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200301241134.31376.jrhoden@unimelb.edu.au>
Sender: owner-freebsd-chat@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-chat.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-chat>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-chat>
X-Loop: FreeBSD.org

On Friday 24 January 2003 10:04, JacobRhoden wrote:
> Hrm, /me senses a new port/package idea coming along . . .
> there isnt one already is there?

Heres a thought, a modification to the 'rm' command, whereby if a certian=
=20
environment variable was set (ie TRASH_DIRECTORY or something) then rm wo=
uld=20
do a move instead of a unlink. A flag could be added to rm to force delet=
e=20
(when the environment variable is being used)... what woudl be the chance=
s of=20
something like that getting committed?=20

(ie i would be happy to write something like that, but I am not in the ha=
bbit=20
of deleteing files accidentally so its not something i would write for=20
myself)

Jacob Rhoden            Phone: +61 3 8344 6102
ITS Division            Email: jrhoden@unimelb.edu.au
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message