Skip to content

Instantly share code, notes, and snippets.

@LuviKunG
Created January 5, 2023 05:37
Show Gist options
  • Save LuviKunG/e46e411a98fda0fbd026a9279f43e20d to your computer and use it in GitHub Desktop.
Save LuviKunG/e46e411a98fda0fbd026a9279f43e20d to your computer and use it in GitHub Desktop.
This is Windows batch file that will clean up unimportant files in the Unity project's folder.
@echo off
echo Deleting all files in the 'Library' folder.
del /s /q /f "Library/"
rd /s /q "Library/"
echo Deleting all files in the 'Logs' folder.
del /s /q /f "Logs/"
rd /s /q "Logs/"
echo Deleting all files in the 'obj' folder.
del /s /q /f "obj/"
rd /s /q "obj/"
echo Deleting all C# Projects.
del *.csproj
echo Deleting all Visual Studio Solutions.
del *.sln
echo Deleting all junk files.
del /s /q /f .DS_STORE
echo Done.
pause
@echo off
echo Deleting all C# Projects.
del *.csproj
echo Deleting all Visual Studio Solutions.
del *.sln
echo Deleting all junk files.
del /s /q /f .DS_STORE
echo Done.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment