|From||"Russell Richardson" <russ at ionix dot net>|
|Subject||imapsync trying to exclude multiple folders during transfer from imail to rackspace mail|
|Date||Mon, 11 Jul 2011 12:37:12 -0400|
I am trying to prevent certain folders that exist on host1 from transferring to host2.
Here are the folders on host1 I want to exclude:
I am using the following command options:
--exclude '^"imip\. --exclude "'^"Junk E-mail\." --justfolders –dry
When I run the full command it shows: Excluding folders matching pattern ''imip\. --exclude '^Junk E-mail\.':
Yet it creates the folders:
Creating folder [IMIP] on host2
Creating folder [Junk E-mail] on host2
I think it is a syntax problem on my part. If I run with just --exclude '^"imip\. it works for that directory. But as soon as I add a second –exclude statement, it fails for both. It look like it is being interpreted as one line perhaps?
How do I exclude multiple folders?