trash
trash copied to clipboard
file names that begin with a dash and ram disk
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.
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.