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

Re: Deleting Files beginning with -



I think the solution is to escape: if the name is
"-file", try
  rm -i \-file

I hope this helps!

regards,

Joris


--- Kay-Michael Voit <debian@voits.net> wrote:
> Hi,
> I have a file beginning with "-". If I try to delete
> ist, rm says
> "invalid option". Same thing when I set " or '. How
> can I delete it?
> 
> Probably a quite stupid question but
> thanks in advance,
> Kay
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



Reply to: