Last active
November 13, 2021 20:48
-
-
Save jafish/e5202439f6e8c324d05028059343362d to your computer and use it in GitHub Desktop.
macOS Shell Script to Cleanup Unity Project Folders
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
cd "$1" | |
find -E . -regex "./[Ll]ibrary|./[Tt]emp|./[Oo]bj|./[Bb]uilds*|./[Ll]ogs|./[Uu]ser[Ss]ettings|./\.vs.*|./.*.sln|./.*.csproj|./.*mono_crash.*|./.*.DS_Store" -prune -exec rm -rf "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment