[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug] rm can't delete files starting with '-'
From: |
Bob Proulx |
Subject: |
Re: [bug] rm can't delete files starting with '-' |
Date: |
Sat, 26 Mar 2005 22:17:28 -0700 |
User-agent: |
Mutt/1.5.6+20040907i |
Marco wrote:
> Trying to remove files whose name start with '-' rm thinks of an option.
>
> OUTPUT (italian)
>
> rm -050309-15526
> rm: opzione non valida -- 0
> Usare `rm --help' per ulteriori informazioni.
Yes. But it is not a bug. The 'rm --help' output says this:
To remove a file whose name starts with a `-', for example `-foo',
use one of these commands:
rm -- -foo
rm ./-foo
Bob