Created
May 20, 2019 11:08
-
-
Save vjandrea/39b2fecfd69661519c39e607210447f8 to your computer and use it in GitHub Desktop.
Clean Mac folders on Windows
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 Removing .DS_STORE... | |
DEL /S ".DS_STORE" | |
@echo ...OK | |
@echo. | |
@echo Removing Thumbs.db... | |
DEL /S /AH "Thumbs.db" | |
@echo ...OK | |
@echo. | |
@echo Removing __MACOSX... | |
for /f "tokens=* delims=" %%i in ('dir /s /b /a:d __MACOSX') do ( rd /s /q "%%i") | |
@echo ...OK | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment