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

24 lines
887 B
Batchfile
Executable File

@REM $Id: test2.bat,v 1.23 2019/03/22 18:10:31 gilles Exp gilles $
@REM
cd /D %~dp0
@REM @ECHO off
@REM perl .\imapsync --host1 p --ssl1 --user1 tata --passfile1 secret.tata --host2 p --ssl2 --user2 titi --passfile2 secret.titi --justfoldersizes | findstr /C:"Host2 Total size:"
@REM findstr /l /C:"Error login" LOG_imapsync\*.txt
@REM perl .\imapsync --host1 p --ssl1 --user1 tata --passfile1 secret.tata --host2 p --ssl2 --user2 titi --passfile2 secret.titi --justlogin
@REM perl -e "print join(' ', keys(%%SIG))"
@ECHO ==== \Seen set in case unset
perl ./imapsync --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 tata --passfile2 secret.tata ^
--nofoldersizes --no-modulesversion --folder INBOX.flagsetSeen --debugflags --dry --regexflag "s,\\Seen,," --regexflag "s,,\\Seen ,"
@REM --regexflag "s,^((?!\\Seen).*)$,$1 \\Seen,"