That does not work to well in an automated script, but thanks
Tony _____ From: andy [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 2:00 PM To: debian-user@lists.debian.org Subject: Re: undelete Tony Heal wrote: 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:[EMAIL PROTECTED] 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: Is there a way to recover deleted files? Maybe, if you are using FAT (highly unlikely) or ext2 (also highly unlikely) and you pulled the plug as soon as you noticed what you did. Sadly, the standard answer, though, is, "No, you're SOL." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFtkcRS9HxQb37XmcRAqhnAKDNyhcPxKrAPAZROeuWy17vcXm8+QCgmawR ll/LxgpYoAHbF685Mc2yXK8= =5K+z -----END PGP SIGNATURE----- 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? A