Re: problem removing a file
rm -- --absolute-paths
The rm man page says:
To remove a file whose name starts with a `-', for example
`-foo', use one of these commands:
rm -- -foo
rm ./-foo
hth,
Pete
On Tue, Jan 15, 2002 at 04:24:11PM +1000, Adrian Bolzan wrote:
> Hi,
>
> I have a file that has been named "--absolute-paths" (no
> quotes). It looks like it was created when one of our
> sysadmins was testing a burt backup routine.
>
> It is about 650MB and I need to remove it.
> However, I cannot remove the file as the rm command
> thinks it is an option! nor can I rename it with mv.
>
> any help would be appreciated...
>
> thanks,
>
> adrian
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: