2011-03-12 03:45:06 +01:00
|
|
|
|
2019-07-03 01:25:47 +02:00
|
|
|
@REM $Id: test2.bat,v 1.23 2019/03/22 18:10:31 gilles Exp gilles $
|
2014-05-30 03:56:21 +02:00
|
|
|
@REM
|
2011-03-12 03:45:06 +01:00
|
|
|
|
2015-12-03 18:16:32 +01:00
|
|
|
cd /D %~dp0
|
2012-12-29 01:43:39 +01:00
|
|
|
|
2014-05-30 03:56:21 +02:00
|
|
|
@REM @ECHO off
|
2016-09-19 17:17:24 +02:00
|
|
|
|
|
|
|
@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:"
|
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
@REM findstr /l /C:"Error login" LOG_imapsync\*.txt
|
2016-09-19 17:17:24 +02:00
|
|
|
|
2019-07-03 01:17:46 +02:00
|
|
|
@REM perl .\imapsync --host1 p --ssl1 --user1 tata --passfile1 secret.tata --host2 p --ssl2 --user2 titi --passfile2 secret.titi --justlogin
|
|
|
|
|
2019-07-03 01:25:47 +02:00
|
|
|
@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,"
|
|
|
|
|
|
|
|
|