A python script that removed temporary files and caches of a Unity Project.
Before Clean | After Clean |
---|---|
This script will remove all files except for Assets
, Library
,Packages
, and ProjectSettings
. Also, inside Library
, it will remove anything that does not have extension of .asset
.
- Place
clean.py
under your UnityProject directory where theAssets
,Library
, andProjectSettings
is at. cd
to the directory- run
python clean.py
- DONE
- USE AT YOUR OWN RISKS!
- Author is not responsible for any files that accidentally deleted, please make sure that you understand the code before using it.