Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 11:34:31 +1100
From:      JacobRhoden <jrhoden@unimelb.edu.au>
To:        freebsd-chat@FreeBSD.ORG
Subject:   Re: recover overwritten file
Message-ID:  <200301241134.31376.jrhoden@unimelb.edu.au>
In-Reply-To: <200301241004.46881.jrhoden@unimelb.edu.au>
References:  <200301232258.h0NMwlaX006708@grimreaper.grondar.org> <200301241004.46881.jrhoden@unimelb.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301241134.31376.jrhoden>