This commit is contained in:
James 2024-03-20 11:04:24 +10:00
parent fbfec7c9d2
commit d685e8500f
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
@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" *