|
From: | Bob Proulx |
Subject: | Re: Feature request: rm option that supports trash (plain text) |
Date: | Tue, 5 Feb 2008 10:59:57 -0700 |
User-agent: | Mutt/1.5.13 (2006-08-11) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |