diff --git a/CREDITS b/CREDITS index fb61d6e..51d5520 100644 --- a/CREDITS +++ b/CREDITS @@ -1,5 +1,8 @@ #!/bin/cat +Vincent Deffontaines +Made me talk about --exclude 'fold1|fold2|f3' + Jim Rosenberg Had problems with dbmail. diff --git a/ChangeLog b/ChangeLog index ad1b657..ea5be8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,17 +1,25 @@ RCS file: RCS/imapsync,v Working file: imapsync -head: 1.147 +head: 1.149 branch: locks: strict - gilles: 1.147 + gilles: 1.149 access list: symbolic names: keyword substitution: kv -total revisions: 147; selected revisions: 147 +total revisions: 149; selected revisions: 149 description: ---------------------------- -revision 1.147 locked by: gilles; +revision 1.149 locked by: gilles; +date: 2006/02/14 00:44:44; author: gilles; state: Exp; lines: +9 -8 +Documented --exclude 'fold1|fold2|f3' +---------------------------- +revision 1.148 +date: 2006/02/14 00:30:49; author: gilles; state: Exp; lines: +7 -7 +More debug for dbmail pb. +---------------------------- +revision 1.147 date: 2006/02/08 07:54:46; author: gilles; state: Exp; lines: +7 -9 Just a little debug for Jim. ---------------------------- diff --git a/README b/README index 6e1217e..7b6bacd 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME imapsync - IMAP synchronization, copy or migration tool. Synchronize mailboxes between two imap servers. Good at IMAP migration. - $Revision: 1.147 $ + $Revision: 1.149 $ INSTALL imapsync works fine under any Unix OS. @@ -263,5 +263,5 @@ AUTHOR teaching free open and gratis softwares. Don't hesitate to pay him for that services. - $Id: imapsync,v 1.147 2006/02/08 07:54:46 gilles Exp gilles $ + $Id: imapsync,v 1.149 2006/02/14 00:44:44 gilles Exp gilles $ diff --git a/VERSION b/VERSION index f2535cd..ee2ee3b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.147 +1.149 diff --git a/imapsync b/imapsync index 1112bbb..0b57da0 100755 --- a/imapsync +++ b/imapsync @@ -6,7 +6,7 @@ imapsync - IMAP synchronization, copy or migration tool. Synchronize mailboxes between two imap servers. Good at IMAP migration. -$Revision: 1.147 $ +$Revision: 1.149 $ =head1 INSTALL @@ -308,7 +308,7 @@ Gilles LAMIRAL earn his living writing, installing, configuring and teaching free open and gratis softwares. Don't hesitate to pay him for that services. -$Id: imapsync,v 1.147 2006/02/08 07:54:46 gilles Exp gilles $ +$Id: imapsync,v 1.149 2006/02/14 00:44:44 gilles Exp gilles $ =cut @@ -355,7 +355,7 @@ my( use vars qw ($opt_G); # missing code for this will be option. -$rcs = ' $Id: imapsync,v 1.147 2006/02/08 07:54:46 gilles Exp gilles $ '; +$rcs = ' $Id: imapsync,v 1.149 2006/02/14 00:44:44 gilles Exp gilles $ '; $rcs =~ m/,v (\d+\.\d+)/; $VERSION = ($1) ? $1 : "UNKNOWN"; @@ -392,8 +392,8 @@ $error=0; my $banner = join("", '$RCSfile: imapsync,v $ ', - '$Revision: 1.147 $ ', - '$Date: 2006/02/08 07:54:46 $ ', + '$Revision: 1.149 $ ', + '$Date: 2006/02/14 00:44:44 $ ', "\n", "Mail::IMAPClient version used here is ", $VERSION_IMAPClient,"\n" @@ -822,12 +822,12 @@ FOLDER: foreach my $f_fold (@f_folders) { - $debug and print "LIST FROM : [@f_msgs]\n"; + $debug and print "LIST FROM : ", scalar(@f_msgs), " messages [@f_msgs]\n"; # internal dates on "TO" are after the ones on "FROM" # normally... my @t_msgs = select_msgs($to); - $debug and print "LIST TO : [@t_msgs]\n"; + $debug and print "LIST TO : ", scalar(@t_msgs), " messages [@t_msgs]\n"; my %f_hash = (); my %t_hash = (); @@ -1215,10 +1215,11 @@ Several options are mandatory. --folder : and this one, etc. --include : only sync folders matching this regular expression (only effective if neither --folder nor --subscribed - is specified) ---exclude : skip folders matching this regular expression + is specified). +--exclude : skips folders matching this regular expression (only effective if neither --folder nor --subscribed - is specified) + is specified). Several folders to avoid: + --exclude 'fold1|fold2|f3' skips fold1, fold2 and f3. --prefix1 : remove prefix to all destination folders (usually INBOX. for cyrus imap servers) use --prefix1 if your source imap server does not