Re: gmc and 'trash'



Well.. that worked for removing single files, but removing a directory
just spits out 'blah is a directory'

I've tried putting rm -rf %q  and it does the same thing.

Guess I'll just wait. :)

sar

On 23 Feb 1999, Miguel de Icaza wrote:

*->
*->> I'm using a checkout of mc from late last night..
*->> I'm trying to use a symlink to /dev/null as a trashcan, where I can drag
*->> items to it and have them deleted.  I've set the default drop option to
*->> 'rm -rf %s' and tried with the 'use default' button checked.  Neither seem
*->> to work.  I know I'm doing something wrong, but what command could I put
*->> in the default drop to make it either remove the files when dropped on, or
*->> bring up the GMC "delete" dialog?
*->
*->Well, make a link from /bin/rm to your ~/desktop/Trashcan file.
*->
*->Then with the properties, make the drop action be "rm -f %q"
*->
*->[ btw, a real trashcan is in the works now ]
*->
*->Best wishes,
*->Miguel.
*->-- 
*->miguel@gnu.org
*->


------------------------------

If God is One, what is bad?
                -- Charles Manson

Death has been proven to be 99% fatal in laboratory rats.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]