Added existing scripts

This commit is contained in:
2018-11-26 21:47:57 +01:00
parent af5243b367
commit 45551cd1b0
5 changed files with 123 additions and 0 deletions

24
backupRvt.bat Normal file
View File

@@ -0,0 +1,24 @@
@echo off
REM Version: 1.1
REM Backup all revit files for Exobim folder structure.
REM Usage information: see readme.txt
REM Created by Peter Gyetvai: gyetpet@gmail.com
cd %~dp0
cd ..
cd ..
if not exist ".\06 - Backup" mkdir "06 - Backup"
cd .\06 - Backup
for /f "delims=" %%a in ('wmic OS Get localdatetime ^| find "."') do set dt=%%a
set dt=%dt:~0,8%
md .\%dt%-rvtFiles
cd .\%dt%-rvtFiles
for /R "%~dp0" %%f in (*.rvt) do (
copy "%%f" "%cd%"
echo.
echo:%%f
)
cd %~dp0