2015-08-04 03:44:40 +02:00
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
REM $Id: test_reg.bat,v 1.4 2016/09/28 03:41:38 gilles Exp gilles $
|
2015-08-04 03:44:40 +02:00
|
|
|
|
|
|
|
cd /D %~dp0
|
|
|
|
|
2017-09-23 23:54:48 +02:00
|
|
|
perl ./imapsync --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi ^
|
|
|
|
--justfolders --folder INBOX --dry ^
|
|
|
|
--regextrans2 "s,(/|^) +,$1,g" ^
|
|
|
|
--regextrans2 "s, +(/|$),$1,g" ^
|
|
|
|
--regextrans2 "s/[\^]/_/g" ^
|
|
|
|
--regextrans2 "s/['\\]/_/g" ^
|
|
|
|
--regextrans2 "s,^&AC8-,-,g" ^
|
|
|
|
--regextrans2 "s,^&APg-,oe,g"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@REM --regextrans2 "s/\./_/g"
|
2015-08-04 03:44:40 +02:00
|
|
|
|
|
|
|
@REM --regextrans2 "s,${h2_prefix}(.*),${h2_prefix}old_mail${h2_sep}$1," ^
|
|
|
|
@REM --regextrans2 "s,^INBOX$,${h2_prefix}old_mail${h2_sep}INBOX,"
|
|
|
|
|
|
|
|
@REM --regextrans2 "s,(.*),old_mail/$1,"
|