4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Accessing sharabl...
FromSent OnAttachments
ArisOct 1, 2000 4:36 pm 
ArisOct 1, 2000 9:28 pm 
Michael S. FischerOct 2, 2000 12:32 am 
ArisOct 2, 2000 4:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Accessing sharable foldersActions...
From:Aris (cour@listserv.cjb.net)
Date:Oct 2, 2000 4:29:11 am
List:net.sourceforge.lists.courier-users

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.