Created
May 11, 2018 20:29
-
-
Save Arty2/8b3a91b66c0bdb177adb8a702eb8e25f to your computer and use it in GitHub Desktop.
Cleanup utility to delete autosaves and backups by software commonly used in architecture.
This file contains hidden or 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 | |
setlocal | |
:PROMPT | |
SET /P CONFIRM=Do you want to delete all ^ | |
Sketchup : .skb, AutoSave_, Backup*.layout ^ | |
AutoCAD : .bak, .dwl, .dwl2, .log, .err ^ | |
Photoshop : .tmp ^ | |
Studio Max : .3dmbak ^ | |
Chrome : .crdownload ^ | |
files in this directory branch? ^ | |
(Y/[N])? | |
IF /I "%CONFIRM%" NEQ "Y" GOTO END | |
del /S *.skb | |
del /S AutoSave_* | |
del /S Backup*.layout | |
del /S *.3dmbak | |
del /S *.bak | |
del /S *.tmp | |
del /S *.dwl | |
del /S *.dwl2 | |
del /S *.log | |
del /S *.err | |
del /S *.crdownload | |
REM ← This is a comment line. | |
:END | |
timeout /T 5 | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment