Created
August 15, 2014 11:10
-
-
Save so0k/a929e6331ac58576fc65 to your computer and use it in GitHub Desktop.
this file has been replaced by powershell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET LOCAL_DATA_DIR=%CD% | |
SET REMOTE_SUB_DIR=golfconnect-docker | |
IF EXIST G:\%REMOTE_SUB_DIR% ( | |
echo %REMOTE_SUB_DIR% exists - should prompt for clear | |
) ELSE ( | |
mkdir G:\%REMOTE_SUB_DIR% | |
) | |
ECHO Syncing data.. By default files are copied only if | |
ECHO * the source and destination have different time stamps or | |
ECHO * the source and destination have different file sizes | |
ECHO (ignoring .git .idea .grunt) | |
ECHO %LOCAL_DATA_DIR% TO G:\%REMOTE_SUB_DIR%\ | |
rem %~nx0 is this script file itself, it should not be copied | |
robocopy %LOCAL_DATA_DIR% G:\%REMOTE_SUB_DIR%\ /MIR /COPY:DAT /E /NFL /NDL /NS /NC /NJH /R:3 /W:3 /XD .git .idea .grunt /XF %~nx0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment