1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/W/test_reg.bat
Nick Bebout 1d08afaba6 1.977
2020-04-10 18:15:57 -05:00

23 lines
704 B
Batchfile
Executable File

REM $Id: test_reg.bat,v 1.4 2016/09/28 03:41:38 gilles Exp gilles $
cd /D %~dp0
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"
@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,"