[Gllug] Is this funny
tet at accucard.com
tet at accucard.com
Wed Jan 2 17:03:24 UTC 2002
> rm()
> {
> mv -f "$@" "$HOME/.trashcan"
> }
I forgot to mention that this will only work for files, not directories.
To handle all the cases properly and provide a direct dropin replacement
from rm is tricky. It's far easier to learn to be careful when using rm.
And to take regular backups, of course...
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list