1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 08:12:48 +01:00
imapsync/W/test_exe_2.bat

42 lines
1.8 KiB
Batchfile
Raw Normal View History

2014-11-19 23:16:16 +01:00
@REM
2012-12-29 01:43:39 +01:00
2018-05-07 16:04:23 +02:00
@REM $Id: test_exe_2.bat,v 1.13 2018/04/24 00:13:55 gilles Exp gilles $
2012-12-29 01:43:39 +01:00
2014-11-19 23:16:16 +01:00
@REM cd C:\msys\1.0\home\Admin\imapsync
cd /D %~dp0
@REM imapsync.exe --host1 p --user1 toto --passfile1 secret.toto --host2 p --user2 titi --passfile2 secret.titi
@REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi
2015-05-28 19:04:57 +02:00
@REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi ^
@REM --foldersizes --usecache --folder "INBOX.[bracket]" --debugcache
2014-11-19 23:16:16 +01:00
2015-05-28 19:04:57 +02:00
@REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi ^
2014-11-19 23:16:16 +01:00
@REM --dry --nofoldersizes --regextrans2 "s,(.*),\L$1," --justfolders
2015-05-28 19:04:57 +02:00
@REM .\imapsync.exe --testslive
2015-08-04 03:44:40 +02:00
@REM perl .\imapsync --tests
@REM .\imapsync.exe --testslive --authmech2 XOAUTH2
2016-09-19 17:17:24 +02:00
@REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 imap.gmail.com --ssl2 --user2 gilles.lamiral@gmail.com --passfile2 secret.gilles_gmail --authmech2 XOAUTH2
2015-08-04 03:44:40 +02:00
2018-05-07 16:04:23 +02:00
@REM should fail
@REM .\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi ^
@REM --folder """INBOX.blanc middle""" --f1f2 """INBOX.blanc middle=INBOX.blanc middle""" --dry
@REM PAUSE
@REM should work
@REM .\imapsync.exe --host1 p --user1 tete@est.belle --passfile1 secret.tete --host2 p --user2 titi --passfile2 secret.titi ^
@REM --folder "INBOX.blanc middle" --f1f2 "INBOX.blanc middle=INBOX.blanc middle" --dry
.\imapsync.exe --host1 p --user1 tata --passfile1 secret.tata --host2 p --user2 titi --passfile2 secret.titi ^
--folder "INBOX.Junk.2010" --dry
.\imapsync.exe --simulong 300 --testslive
PAUSE
2016-09-19 17:17:24 +02:00