Tony Heal wrote:
You could always create an alias and make rm interactive by inserting the -i option, hence rm would now become rm -i which would at least make you think twice before actually deleting it?OK, how about some preventative stuff. If there is not real way to 'undelete' files. How about adding a script named 'rm' that passes the same switches to from the script to /bin/rm but moves the files to tmp before deleting them. Anyone have something like this hanging around their system somewhere? Tony -----Original Message----- From: Ron Johnson [mailto:ron.l.johnson@cox.net] Sent: Tuesday, January 23, 2007 12:34 PM To: debian-user@lists.debian.org Subject: Re: undelete -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/23/07 10:37, Tony Heal wrote: A |