Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 20:18:20 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Tsu-Fan Cheng" <tfcheng@gmail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: how to remove "-KVCD.stats"?
Message-ID:  <20090103201820.79f10747.freebsd@edvax.de>
In-Reply-To: <f84c38580901030948w267de7ebpe045ce5ceb12fa92@mail.gmail.com>
References:  <f84c38580901030948w267de7ebpe045ce5ceb12fa92@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 Jan 2009 12:48:09 -0500, "Tsu-Fan Cheng" <tfcheng@gmail.com> wrote:
> Hi,
>    due to using mkxvcd to convert avi to mpg, I sometimes generates
> "-KVCD.stas" file. How can I remove this? every time I run:
> 
> rm -f \-KVCD.stats
> 
> or
> 
> rm -f "_KVCD.stas"
> 
> it says:
> 
> rm: illegal option -- K
> usage: rm [-f | -i] [-dIPRrvW] file ...
>        unlink file

Try to use "--" in order to stop argument (command line iotion)
processing:

	# rm -f -- -KVCD.stats

Nothing after "--" will be treated as an argument.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090103201820.79f10747.freebsd>