Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

komatsu

macrumors 6502a
Original poster
Sep 19, 2010
547
45
Are "plist" files generally safe to delete?

Lots of solutions to OS X problems seem to involve deleting "plist" files. But, in a general sense,
how safe is this? Or, are their "plist" files which you should never go near?
 
It's generally safe to delete them. The worst that could happen when deleting the majority of them is that you lose settings associated with the program that uses that plist. The bad ones are generally locked out by SIP in 10.11 and later, but even then it's generally safe to delete those as well.
 
thanks Intell.

And for some apps the plist files are stored in two locations?
 
Yes, some applications have their plists stored in two or even three different places. But most of them are in ~/Library/Preferences/
 
Great! so once deleted they are meant to regenerate themselves?
 
Great! so once deleted they are meant to regenerate themselves?
Yes.... the next time you open the setting or app related to that plist, it will create a new one with the default settings.

Also, just deleting a plist will not get rid of it starting with Mavericks. The plist files are cached, so if you just delete one the cached version will be used and you will have accomplished nothing. So you need to quit the app, delete the plist file, logout then log back in or reboot to erase the cached plist, then start the app the generate a new plist.

https://manytricks.com/blog/?p=3049

Here is an article about it. There is also a Terminal command that can be used to flush the plist cache.

Code:
killall cfprefsd
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.