This commit is contained in:
Nick Bebout 2011-03-12 02:44:20 +00:00
parent 471328efae
commit 00a0bc81fd
5 changed files with 29 additions and 17 deletions

View file

@ -1,5 +1,8 @@
#!/bin/cat
Vincent Deffontaines
Made me talk about --exclude 'fold1|fold2|f3'
Jim Rosenberg
Had problems with dbmail.

View file

@ -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.
----------------------------

4
README
View file

@ -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 $

View file

@ -1 +1 @@
1.147
1.149

View file

@ -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 <string> : and this one, etc.
--include <regex> : only sync folders matching this regular expression
(only effective if neither --folder nor --subscribed
is specified)
--exclude <regex> : skip folders matching this regular expression
is specified).
--exclude <regex> : 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 <string> : remove prefix to all destination folders
(usually INBOX. for cyrus imap servers)
use --prefix1 if your source imap server does not