Last active
August 22, 2019 14:15
-
-
Save ChrisMoney/a0646a2c343109a5905cc3d9864dda3c to your computer and use it in GitHub Desktop.
Bash script for Mac/Linux to delete bin & object 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
#!/bin/bash | |
#Rm : deletes folder | |
# -R : deletes directory | |
# -rf : deletes directory if exists, if not, ignores it | |
# mobile.iOS | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS/obj || true | |
# mobile.Android | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.Android/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.Android/obj || true | |
# mobile.pcl | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.pcl/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.pcl/obj || true | |
# mobile.shared | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.shared/bin || true | |
Rm -rf -R ~/Documents/Github/Platform/src/mobile.shared/obj || true | |
# mobile.shared.iOS | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.shared.iOS/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.shared.iOS/obj || true | |
# mobile.iOS.VertifiBinding | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS.VertifiBinding/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS.VertifiBinding/obj? || true | |
# mobile.Droid.VertifiBinding | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.Droid.VertifiBinding/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.Droid.VertifiBinding/obj || true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment