REPO-to-work__winxp.bat
@echo off
set repo_path=/cygdrive/h
set work_path=/cygdrive/d
set log_file=/logs/rsync-1-winxp.log
set log_acts=h:\rsync.log
set dt=%date:~6,4%-%date:~3,2%-%date:~0,2% %time:~0,2%:%time:~3,2%
echo %dt% %0 >> %log_acts%
rsync --verbose --progress --stats --recursive --times --perms --links --exclude "*.~*" --exclude "*.dcu" --exclude "*.dsk" --exclude "*.ddp" --log-file=%repo_path%%log_file% %repo_path%/1-winxp/promauto-src/ %work_path%/promauto-src
rsync --verbose --progress --stats --recursive --times --perms --links --log-file=%repo_path%%log_file% %repo_path%/1-winxp/cache/ %work_path%/cache