It happens sometimes (eg. a forced quit -aka. kill- of an application) that a preference file (*.plist) gets damaged. As a result you might experience malfunctioning in the given app. There's a free GUI utility (
Preferential Treatment) that's actually a wrapper for the OS builtin
plutil
command. The latter can detect syntax problems in your *.plist files and using the GUI you can scan all the system-wide and user preference files for errors. However you can do that with a simple (terminal) command too.
Executing the following two lines will list all the problematic files:
find ~/Library/Preferences -iname '*.plist' -not -exec sh -c "plutil -lint -s '{}' > /dev/null 2>&1" \; -print
sudo find /Library/Preferences -iname '*.plist' -not -exec sh -c "plutil -lint -s '{}' > /dev/null 2>&1" \; -print
If you want, you can erase these files at the same time with a little modification:
find ~/Library/Preferences -iname '*.plist' -not -exec sh -c "plutil -lint -s '{}' > /dev/null 2>&1" \; -exec rm -i '{}' \; -print
sudo find /Library/Preferences -iname '*.plist' -not -exec sh -c "plutil -lint -s '{}' > /dev/null 2>&1" \; -exec rm -i '{}' \; -print
I've added the
-i
option to the
rm
command in the above example so you've a little more control on which *.plist files get deleted (since nobody want's to blindly delete files).
Recent comments
2 years 34 weeks ago
4 years 3 weeks ago
4 years 3 weeks ago
4 years 5 weeks ago
4 years 6 weeks ago
4 years 13 weeks ago
4 years 13 weeks ago
4 years 13 weeks ago
4 years 13 weeks ago
4 years 14 weeks ago