purrforce/pull_fromgit.bat

9 lines
329 B
Batchfile

@echo off
rem make distclean || echo w/e
set CLEAN_DATE_A=%DATE:/=_%
set CLEAN_DATE_B=%CLEAN_DATE_A: =_%
echo %DATE% = %CLEAN_DATE_B%
set CLEAN_TIME_A=%TIME::=_%
set CLEAN_TIME_B=%CLEAN_TIME_A:.=_%
echo %TIME% = %CLEAN_TIME_B%
echo "C:\Program Files\7-Zip\7z.exe" a "D:\dev\db\purrforce_backup_%CLEAN_DATE_B%_%CLEAN_TIME_B%.7z" *