Created
January 17, 2020 02:35
-
-
Save ickc/4432afeccb5e928fb3a98795695a46bc to your computer and use it in GitHub Desktop.
Uninstall ColorMunki* on macOS according to https://xritephoto.com/ph_product_overview.aspx?ID=2458&Action=Support&SupportID=5932
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 | |
# usage DRYRUN=1 ./rm-colormunki-photo.sh | |
# c.f. https://xritephoto.com/ph_product_overview.aspx?ID=2458&Action=Support&SupportID=5932 | |
# not all Logs will not be deleted | |
if [[ -n "$DRYRUN" ]]; then | |
rmxrite=echo | |
else | |
rmxrite='sudo rm -rf' | |
fi | |
find /Applications -maxdepth 1 -name 'ColorMunki*' -type d -exec $rmxrite {} + | |
$rmxrite '/Library/Application Support/X-Rite' | |
find '/Library/Application Support' -maxdepth 1 -name 'ColorMunki*' -type d -exec $rmxrite {} + | |
$rmxrite /Library/ColorPickers/ColormunkiPicker.colorPicker | |
find /Library/LaunchDaemons -name 'com.xrite*' -exec $rmxrite {} + | |
find /Library/LaunchAgents -name 'com.xrite*' -exec $rmxrite {} + | |
find /Library/Frameworks -name 'XRite*.framework' -exec $rmxrite {} + | |
# Logs | |
$rmxrite '/Users/kolen/Library/Application Support/ColorMunki' | |
find ~/Library/Logs -name 'ColorMunki*' -exec $rmxrite {} + | |
find ~/Library/Preferences -name 'com.x*rite.*' -exec $rmxrite {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment