This commit is contained in:
Nick Bebout 2011-03-12 02:44:21 +00:00
parent ab8d0b0cf7
commit a1ba8b7815
5 changed files with 22 additions and 17 deletions

View file

@ -1,15 +1,20 @@
RCS file: RCS/imapsync,v RCS file: RCS/imapsync,v
Working file: imapsync Working file: imapsync
head: 1.152 head: 1.153
branch: branch:
locks: strict locks: strict
gilles: 1.153
access list: access list:
symbolic names: symbolic names:
keyword substitution: kv keyword substitution: kv
total revisions: 152; selected revisions: 152 total revisions: 153; selected revisions: 153
description: description:
---------------------------- ----------------------------
revision 1.153 locked by: gilles;
date: 2006/02/22 02:41:52; author: gilles; state: Exp; lines: +10 -9
updated usage()
----------------------------
revision 1.152 revision 1.152
date: 2006/02/17 02:57:21; author: gilles; state: Exp; lines: +55 -18 date: 2006/02/17 02:57:21; author: gilles; state: Exp; lines: +55 -18
Made the --justconnect a real "just connect" connection, Made the --justconnect a real "just connect" connection,

4
README
View file

@ -2,7 +2,7 @@ NAME
imapsync - IMAP synchronization, copy or migration tool. Synchronize imapsync - IMAP synchronization, copy or migration tool. Synchronize
mailboxes between two imap servers. Good at IMAP migration. mailboxes between two imap servers. Good at IMAP migration.
$Revision: 1.152 $ $Revision: 1.153 $
INSTALL INSTALL
imapsync works fine under any Unix OS. imapsync works fine under any Unix OS.
@ -267,5 +267,5 @@ AUTHOR
teaching free open and gratis softwares. Don't hesitate to pay him for teaching free open and gratis softwares. Don't hesitate to pay him for
that services. that services.
$Id: imapsync,v 1.152 2006/02/17 02:57:21 gilles Exp $ $Id: imapsync,v 1.153 2006/02/22 02:41:52 gilles Exp gilles $

View file

@ -1 +1 @@
1.152 1.153

View file

@ -6,7 +6,7 @@ imapsync - IMAP synchronization, copy or migration
tool. Synchronize mailboxes between two imap servers. Good tool. Synchronize mailboxes between two imap servers. Good
at IMAP migration. at IMAP migration.
$Revision: 1.152 $ $Revision: 1.153 $
=head1 INSTALL =head1 INSTALL
@ -313,7 +313,7 @@ Gilles LAMIRAL earn his living writing, installing,
configuring and teaching free open and gratis configuring and teaching free open and gratis
softwares. Don't hesitate to pay him for that services. softwares. Don't hesitate to pay him for that services.
$Id: imapsync,v 1.152 2006/02/17 02:57:21 gilles Exp $ $Id: imapsync,v 1.153 2006/02/22 02:41:52 gilles Exp gilles $
=cut =cut
@ -361,7 +361,7 @@ my(
use vars qw ($opt_G); # missing code for this will be option. use vars qw ($opt_G); # missing code for this will be option.
$rcs = ' $Id: imapsync,v 1.152 2006/02/17 02:57:21 gilles Exp $ '; $rcs = ' $Id: imapsync,v 1.153 2006/02/22 02:41:52 gilles Exp gilles $ ';
$rcs =~ m/,v (\d+\.\d+)/; $rcs =~ m/,v (\d+\.\d+)/;
$VERSION = ($1) ? $1 : "UNKNOWN"; $VERSION = ($1) ? $1 : "UNKNOWN";
@ -398,8 +398,8 @@ $error=0;
my $banner = join("", my $banner = join("",
'$RCSfile: imapsync,v $ ', '$RCSfile: imapsync,v $ ',
'$Revision: 1.152 $ ', '$Revision: 1.153 $ ',
'$Date: 2006/02/17 02:57:21 $ ', '$Date: 2006/02/22 02:41:52 $ ',
"\n", "\n",
"Mail::IMAPClient version used here is ", "Mail::IMAPClient version used here is ",
$VERSION_IMAPClient,"\n" $VERSION_IMAPClient,"\n"
@ -1296,13 +1296,14 @@ Several options are mandatory.
--maxsize <int> : skip messages larger than <int> bytes --maxsize <int> : skip messages larger than <int> bytes
--maxage <int> : skip messages older than <int> days. --maxage <int> : skip messages older than <int> days.
final stats (skipped) don't count older messages final stats (skipped) don't count older messages
see also --minage
--minage <int> : skip messages newer than <int> days. --minage <int> : skip messages newer than <int> days.
final stats (skipped) don't count newer messages final stats (skipped) don't count newer messages
You can do (+ are the messages selected): You can do (+ are the messages selected):
------maxage+++++++++++++++++++|now past|----maxage+++++++++++++++>now
+++++++++++++++++++minage------|now past|+++++++++++++++minage---->now
------maxage+++++++minage------|now intersection past|----maxage+++++minage---->now (intersection)
++++++minage-------maxage++++++|now union past|++++minage-----maxage++++>now (union)
--skipheader <regex> : Don't take into account header keyword --skipheader <regex> : Don't take into account header keyword
matching <string> ex: --skipheader 'X.*' matching <string> ex: --skipheader 'X.*'
--useheader <string> : Use this header to compare messages on both sides. --useheader <string> : Use this header to compare messages on both sides.

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# $Id: tests.sh,v 1.45 2006/02/17 02:51:12 gilles Exp gilles $ # $Id: tests.sh,v 1.46 2006/02/22 02:21:57 gilles Exp gilles $
#### Shell pragmas #### Shell pragmas
@ -92,8 +92,7 @@ loulloul() {
--host1 loul --user1 tata \ --host1 loul --user1 tata \
--passfile1 /var/tmp/secret.tata \ --passfile1 /var/tmp/secret.tata \
--host2 loul --user2 titi \ --host2 loul --user2 titi \
--passfile2 /var/tmp/secret.tata \ --passfile2 /var/tmp/secret.tata
--sep2 .
else else
: :
fi fi