Wilfred wrote:
> It would be great if rm supported moving a file to a freedesktop.org
> compliant trash folder. This woud save much heartache by giving a
> 'safer' option for newbies.

This is easily done.  Simply create an alias that moves the file
instead of removing it.

  alias rm="mv --target-directory=$HOME/.Trash/"

But please don't make this a system default since this behavior is not
appreciated by many.

Bob


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to