Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия | |||
|
dev:backups:repo-to-work_winxp.bat [2011/12/22 13:46] jamis7005 |
dev:backups:repo-to-work_winxp.bat [2011/12/22 13:47] (текущий) jamis7005 |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| ====== REPO-to-work__winxp.bat ====== | ====== REPO-to-work__winxp.bat ====== | ||
| <code bash> | <code bash> | ||
| + | @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 | ||
| + | |||
| </code> | </code> | ||