Many thanks to both of you.
On Mon, Oct 02, 2000 at 12:32:50AM -0700, Michael S. Fischer wrote:
On Mon, Oct 02, 2000 at 01:46:48AM -0400, Sam Varshavchik wrote:
On Mon, 2 Oct 2000, Aris wrote:
I just figured out that the maildirmake version which was invoked
is the version that comes with qmail that does not support maildir extension.
Everything is working beautifully now, i.e. I can access the shared folder.
But now, I have this "--add" directory created by the wrong maildirmake
that I just can not remove using either rmdir or rm -rf because
it is treated like an option/argument to the rm/rmdir program.
I know this is out of topic, can anybody give me a hint as to write a simple
perl or c code to remove this without having to rely on the rm/rmdir program?
rm -rf ./--add
To expand on what Sam said, most GNU (Linux, etc.) commands support
the -- (null) argument, which is interpreted as "treat the rest of the
command line as arguments and not switches". So you could also
conceivably use
rm -rf -- --add
and you'd be all set.