trash icon indicating copy to clipboard operation
trash copied to clipboard

file names that begin with a dash and ram disk

Open grylem opened this issue 4 years ago • 1 comments

Hi make ramdisk touch -- -file trash -- -file Unrecognized argument --, does not work like rm trash -file works but like rm - the file is deleted and does not fit in the trash bin Thanks.

grylem avatar May 13 '21 07:05 grylem

A likely workaround would be something resembling

trash ./-file

although if maximum compatibility with rm usage is desired, handling -- properly as explicit option terminator would still be a good idea.

rlhamil avatar Aug 11 '21 18:08 rlhamil