Различия
Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия | |||
dev:backups:work-to-repo_winxp.bat [2011/12/22 13:45] jamis7005 |
dev:backups:work-to-repo_winxp.bat [2011/12/22 13:48] (текущий) jamis7005 |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
====== work-to-REPO__winxp.bat ====== | ====== work-to-REPO__winxp.bat ====== | ||
<code bash> | <code bash> | ||
+ | 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% %work_path%/promauto-src/ %repo_path%/1-winxp/promauto-src | ||
+ | rsync --verbose --progress --stats --recursive --times --perms --links --log-file=%repo_path%%log_file% %work_path%/tools/borland/ %repo_path%/1-winxp/tools/borland | ||
+ | rsync --verbose --progress --stats --recursive --times --perms --links --log-file=%repo_path%%log_file% %work_path%/cache/ %repo_path%/1-winxp/cache | ||
+ | |||
</code> | </code> |