[plug] Deleting/Moving files beginning with '-'
Shannon Carver
shannon.carver at p-s-t.com.au
Tue Oct 25 10:31:59 WST 2005
Hi Guys,
In light of the find -exec query, I thought I'd ask my question on how to
delete files from a shell that start with a hyphen/dash. My solution thus
far, has just been to use Nautilus/Konqueror as its handled them fine, but I
know there must be a way to handle them, but I just can't find the right
command to do it.
The problem with the hyphen of course, is it takes the next letter or
letters after the hyphen as options like cp -a etc etc.
I've tried all the things I can think of, escaping the hyphen, putting it in
quotes, this hasn't worked.
Whats the solution?
Shannon Carver
More information about the plug
mailing list