Created
July 14, 2017 03:49
-
-
Save Kif11/6e56e76673c77af792eca7c20f46ea8d to your computer and use it in GitHub Desktop.
Remove maya and associated files from your OSX
This file contains 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
#!/usr/bin/env bash | |
# CAUTION! This might brake other Autodesk apps and their licenses | |
ver=2016 | |
prod_key=657H1 | |
# Unregister License | |
/Volumes/Install\ Maya\ $ver/Install\ Maya\ $ver.app/Contents/Resources/adlmreg -u N $prod_key $ver.0.0.F | |
/Volumes/Install\ Maya\ $ver/Install\ Maya\ $ver.app/Contents/Resources/adlmreg -u S $prod_key $ver.0.0.F | |
# Remove maya app | |
rm -rf /Applications/Autodesk/maya$ver | |
rm -rf /Library/Application\ Support/Autodesk/ | |
rm -rf ~/Library/Application\ Support/Autodesk/ | |
rm ~/Library/Preferences/com.autodesk* | |
rm ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.autodesk* | |
rm -rf ~/Library/Caches/com.autodesk.Maya* | |
rm -rf ~/Adlm/ | |
rm -f /Library/Preferences/FLEXnet\ Publisher/FLEXnet/adskflex* | |
rm -rf /Library/Application\ Support/FLEXnet\ Publisher/ | |
rm -rf /tmp/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment