Date: Fri, 20 Aug 2010 12:04:21 -0400 From: Sean <sean@ttys0.net> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Can't remove or move file Message-ID: <AANLkTimx5R_BKYZ7Zrx1vLg8LqjiUdR0=%2BmO08zLD-Hs@mail.gmail.com> In-Reply-To: <4C6EA6B6.6090307@comcast.net> References: <4C6EA6B6.6090307@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> No switch with either the rm or mv command works. =A0What is actually goi= ng on > here? >From the man page: NOTES The rm command uses getopt(3) to parse its arguments, which allows it = to accept the `--' option which will cause it to stop processing flag options at that point. This will allow the removal of file names that begin with a dash (`-'). For example: rm -- -filename -Sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimx5R_BKYZ7Zrx1vLg8LqjiUdR0=%2BmO08zLD-Hs>