Added existing scripts
This commit is contained in:
24
backupRvt.bat
Normal file
24
backupRvt.bat
Normal 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
|
||||
Reference in New Issue
Block a user