Created
February 13, 2018 20:52
-
-
Save sergiks/b539d40fdbb12fdce38e20796259e564 to your computer and use it in GitHub Desktop.
OS X reset of file associations with apps used to open them
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
# Source: https://superuser.com/questions/640730/mac-os-x-file-associations-keep-changing-though-reverting-it-manually | |
# Delete LaunchServices prefs: | |
rm ~/Library/Preferences/com.apple.LaunchServices.plist | |
# Rebuild the Launch Services database with | |
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -domain local -domain system -domain user | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment