Wouldn't the solution for this just be to add a couple of extra utilities, like e.g. srm (== saferm)? This provides the functionality without breaking anything. The utilities could also be aliases.
Regards, Michael On 20.02.2008 02:57 "A. Walton" wrote: On Feb 17, 2008 8:11 PM, Vincent wrote: [snip] > alias rm="mv --force --target-directory=$HOME/.Trash/" > alias rmdir="mv --force --target-directory=$HOME/.Trash/" [/snip] And of course, that would break any script that needs to use rm to deal with a file, filling your trash dir with countless fragments of evil just waiting to be stepped on by a curious user poking around their trash directories (just another "this is in general a very bad idea"). Not to mention that Trash isn't ~/.Trash anymore, but is now ~/$XDG_DATA_HOME/Trash and uses the FreeDesktop.org Trashing specification to deal with files so that they can be restored to their previous locations[1]. So, now users using rm would have their home directories inflate without realizing why it was, and with no obvious reason for why this is. rm is a core utility for a reason. Users of it know what it does, and they shouldn't be throwing it around frivolously. If you really want the functionality back, fix EXT3, or use a different file system that lets you "undelete". Or even better still, make backup practices a regular daily routine, and never lose a file again. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- Ubuntu-devel-discuss mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
