mirror of
https://github.com/imapsync/imapsync.git
synced 2024-11-17 00:02:29 +01:00
23 lines
645 B
Batchfile
Executable File
23 lines
645 B
Batchfile
Executable File
|
|
@REM $Id: test_xoauth2.bat,v 1.2 2016/08/19 14:07:40 gilles Exp gilles $
|
|
@REM
|
|
|
|
cd /D %~dp0
|
|
|
|
@REM @ECHO off
|
|
@REM .\imapsync.exe --justbanner
|
|
@REM @PAUSE
|
|
@REM .\imapsync.exe --tests
|
|
@REM @PAUSE
|
|
@REM .\imapsync.exe --testslive
|
|
@REM @PAUSE
|
|
|
|
@REM SET PERL_LWP_ENV_PROXY=1
|
|
SET https_proxy=connect://localhost:3128/
|
|
ECHO %https_proxy%
|
|
|
|
@REM EXIT
|
|
|
|
perl .\imapsync --host1 imap.gmail.com --ssl1 --user1 gilles.lamiral@gmail.com --passfile1 secret.xoauth2 --host2 imap.gmail.com --ssl2 --user2 gilles.lamiral@gmail.com --passfile2 secret.xoauth2 --justfoldersizes --nofoldersizes --authmech1 XOAUTH2 --authmech2 XOAUTH2 --debug
|
|
|