mirror of
https://github.com/imapsync/imapsync.git
synced 2025-07-25 19:48:14 +02:00
1.596
This commit is contained in:
parent
2e764e7987
commit
dc5f6a1605
30 changed files with 1161 additions and 910 deletions
|
@ -1,5 +1,5 @@
|
|||
@REM
|
||||
@REM $Id: sync_loop_windows.bat,v 1.6 2014/05/22 14:20:51 gilles Exp gilles $
|
||||
@REM $Id: sync_loop_windows.bat,v 1.7 2014/06/24 08:40:46 gilles Exp gilles $
|
||||
@REM
|
||||
@REM imapsync massive sync example batch for Windows users
|
||||
@REM lines beginning with REM are just comments
|
||||
|
@ -7,6 +7,7 @@
|
|||
@REM Replace "imap.side1.org" and "imap.side2.org" with your own values
|
||||
@REM
|
||||
@REM ==== Credentials file ====
|
||||
|
||||
@REM Credentials data are supposed to be in the file named "file.txt" in the following format
|
||||
@REM user001_1;password001_1;user001_2;password001_2
|
||||
@REM ...
|
||||
|
@ -18,9 +19,11 @@
|
|||
@REM by changing "SET csvfile=file.txt" below.
|
||||
|
||||
@REM ==== Log files ====
|
||||
|
||||
@REM Log files are in the LOG_imapsync subfolder
|
||||
|
||||
@REM ==== Parallel executions ====
|
||||
|
||||
@REM If you want to do parallel runs of imapsync then this current script is a good start.
|
||||
@REM Just copy it several times and replace, on each copy, the csvfile variable value.
|
||||
@REM Instead of SET csvfile=file.txt write for example
|
||||
|
@ -30,7 +33,17 @@
|
|||
@REM Of course you also have to split data contained in file.txt
|
||||
@REM into file01.txt file02.txt etc.
|
||||
@REM After that, just double-clic on each batch file to launch each process
|
||||
@REM
|
||||
@REM Be aware that imapsync can be also a cpu/memory cruncher on the remote imap servers,
|
||||
@REM especially in parallel runs. The best practice rule to answer the question
|
||||
@REM "how many processes in parallel can we run?" is:
|
||||
@REM 1) Measure the total transfer rate by adding each one printed in each run.
|
||||
@REM 2) Launch new parallel runs as long as the total transfer rate increase.
|
||||
@REM 3) When the total transfer rate starts to diminish, stop new launches.
|
||||
@REM Note N as the number of parallel runs you got until then.
|
||||
@REM 4) Only keep N-2 parallel runs for the future.
|
||||
|
||||
@REM ==== The real stuff ====
|
||||
|
||||
@REM @echo off
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue