@echo off &REM -*-coding:cp850; fill-column:79;-*-
 REM
 REM robosync.cmd -- Run ROBOCOPY in mirror mode
 REM
 REM SYNTAX
 REM ------
 REM
 REM     robosync [OPTIONS]... SOURCE-DIRECTORY TARGET-DIRECTORY [FILESPEC]...
 REM
 REM PREDEFINED OPTIONS
 REM ------------------
 REM
 REM /NJH /NJS /NDL /NP
 REM     No header, no summary, no file-list, no percentage.
 REM
 REM /XJ
 REM     Do not follow symlinks.
 REM
 REM /FFT /DST
 REM     Compensate summer time (DST), Use a time-lag of 2 seconds (FAT16
 REM     granularity).
 REM
 REM /MIR
 REM     Spiegelt eine Verzeichnisstruktur (entspricht "/E" mit "/PURGE").
 REM
 REM /E
 REM     Copy subdirectories, including empty ones.
 REM
 REM /PURGE
 REM      Delete destination files that no longer exist under source.
 REM
 REM $Author: Andreas Spindler <info@andreasspindler.de>$
 REM
 setlocal enableextensions
 setlocal enabledelayedexpansion
 robocopy /NJH /NJS /NDL /NP /XJ /FFT /DST /MIR %*
:END