Re: Feature request: rm option that supports trash (plain text)

2008-02-10 Thread Wilfred
On 08/02/2008, Bob Proulx [EMAIL PROTECTED] wrote: Wilfred wrote: [EMAIL PROTECTED] ~ $ mkdir testdel [EMAIL PROTECTED] ~ $ alias del='mv --verbose --backup=simple --suffix=$(date +.(%F_%T)) --target-directory=$HOME/.Trash/' [EMAIL PROTECTED] ~ $ del testdel mv: accessing

Re: Feature request: rm option that supports trash (plain text)

2008-02-10 Thread Bauke Jan Douma
Wilfred wrote on 10-02-08 23:17: On 08/02/2008, Bob Proulx [EMAIL PROTECTED] wrote: Wilfred wrote: [EMAIL PROTECTED] ~ $ mkdir testdel [EMAIL PROTECTED] ~ $ alias del='mv --verbose --backup=simple --suffix=$(date +.(%F_%T)) --target-directory=$HOME/.Trash/' [EMAIL PROTECTED] ~ $ del testdel

Re: Feature request: rm option that supports trash (plain text)

2008-02-10 Thread Steve Ward
On Feb 7, 2008 5:35 PM, Wilfred [EMAIL PROTECTED] wrote: On 06/02/2008, Steve Ward [EMAIL PROTECTED] wrote: On Feb 5, 2008 12:59 PM, Bob Proulx [EMAIL PROTECTED] wrote: Wilfred wrote: It would be great if rm supported moving a file to a freedesktop.org compliant trash

Re: Feature request: rm option that supports trash (plain text)

2008-02-07 Thread Wilfred
On 06/02/2008, Steve Ward [EMAIL PROTECTED] wrote: On Feb 5, 2008 12:59 PM, Bob Proulx [EMAIL PROTECTED] wrote: 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

Re: Feature request: rm option that supports trash (plain text)

2008-02-07 Thread Bob Proulx
Wilfred wrote: [EMAIL PROTECTED] ~ $ mkdir testdel [EMAIL PROTECTED] ~ $ alias del='mv --verbose --backup=simple --suffix=$(date +.(%F_%T)) --target-directory=$HOME/.Trash/' [EMAIL PROTECTED] ~ $ del testdel mv: accessing `/home/wilfred/.Trash/': No such file or directory Right. You would

Re: Feature request: rm option that supports trash (plain text)

2008-02-06 Thread Steve Ward
On Feb 5, 2008 12:59 PM, Bob Proulx [EMAIL PROTECTED] wrote: 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

Re: Feature request: rm option that supports trash (plain text)

2008-02-06 Thread Bob Proulx
Steve Ward wrote: Additionally, I use the --backup option to prevent overwriting existing files folders in the trash (in order to be similar to the Recycle Bin behavior). # my del alias del='mv --verbose --backup=simple --suffix=$(date +.(%F_%T)) --target-directory=$HOME/.Trash/' I

Feature request: rm option that supports trash (plain text)

2008-02-05 Thread Wilfred
(apologies for previous html email) 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. Thanks ___ Bug-coreutils mailing list

Re: Feature request: rm option that supports trash (plain text)

2008-02-05 Thread Bob Proulx
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