Deleting Preference and Other Files

Trying to clean up my HD before upgrading to Catalina. Now running Sierra. In my folder, under Application preference files, I see some that seem clearly labeled. (See screen shot.) I do not any longer have Poser 2.0 or 9 on my HD. Is it safe to delete these Preferences? I also have several versions of Poser 10, and several versions of Poser 11, probably as a result of updates to those apps. Is it safe to delete all but one, and, if so, would I keep the ones at the bottom of v. 10 and v. 11?


I'm told it's not safe to delete preference files, and I don't want to make a mess of this, so I would only want to delete files that seem clearly labeled. In upgrading to Catalina, if some files of various sorts remain, especially in the System folder, that are from outdated apps or 32-bit apps, would that cause any problems? I'm guessing that would only take up HD space, and its best not to delete something if I'm not sure that the item could be safely deleted. Is this thinking correct?

Posted on Sep 13, 2020 11:35 AM

Reply
24 replies

Sep 13, 2020 12:16 PM in response to Stephen Souza1

I'm told it's not safe to delete preference files,

Not sure who told you that or why.

There is no danger in removing a preference list except for the necessity of fixing all of the preferences.

The preferences are replaced with the defaults when you start the program again after deleting the prefs.


You can just move the other plist files/folders to your Desktop. Start the program and if nothing is amiss, then you can delete them from your Desktop. If the app has problems, quit and move all the preferences back into the Preferences folder.

Sep 13, 2020 12:00 PM in response to Stephen Souza1

It depends on whether version 11 uses files in the folders labeled as for v11 while also using preference files from the earlier versions as well, or if it ignores all the earlier version preference folders and uses only v11 preference files.


You might get a clue by looking at the modification dates inside those folders.


Safest thing is to leave the preferences as they are, if the software is working properly. How much space do they take up? Unless they are using many gigabytes of space, there is no real reason to delete them. Preference files associated with old 32-bit software are ignored under Catalina and do no harm.


You can also experiment (I would do this before upgrading the OS): create a folder on your desktop called "temp" and move all the preference files you want to delete into that folder. Then restart your Mac. Then see if your program (Poser) runs properly. If it does, you can safely put "temp" in the trash and empty it. If it needs those earlier files, just move them back to where they were originally.


I would leave all these files where they are. Unless they are taking up a lot of space, which typically preference files do not.


You could also contact the developer to ask if it is ok to delete earlier version preference files.

Sep 13, 2020 12:27 PM in response to Stephen Souza1

Unless you REALLY know exactly what you are doing, I recommend not deleting files from the System folder. That could make your Mac unstable. I think the Mac OS updater (or Migration Assistant if you are using that after a clean install) knows best how to handle things within the System folder.


32-bit apps simply won't run under Catalina. They may sit there but the OS puts a slash over them and you can't run them, they won't start up. Their Preferences files will not have an effect.


One thing that might make sense to do before the update is to uninstall or remove login or startup items that are incompatible with Catalina. You can do that using tools that Mac OS provides, such as the Users and Groups Preference Pane. I would not go doing surgery within the System folder, however, unless you are very certain about what you are doing. During the Mac OS update (or Migration after a clean install), the OS checks to see what the startup or login items are pointing to and won't carry over items that are not compatible with the new OS.


If you are really concerned about leftover stuff affecting your new Catalina system, the safest procedure is to make several good backups (at least two different types), check that the backups are complete and that you can restore some test folders and files from them, and then do an erase and clean install of Catalina. Then on first boot up, tell it to migrate from one of your backups, and migrate over only user files, no applications and no settings or other things. Then, install fresh all your software and set up your printers and other peripherals fresh. I have done this and it takes a bit longer than the simple upgrade, but it sometimes makes sense to take a bit more time.

Sep 13, 2020 1:26 PM in response to Stephen Souza1

My last post was this: "I do find that Mail quits more than it ought to. Does that indicate that Sierra, which I'm on, has "issues"? I would have thought that upgrading to a new OS would solve any issues that the older OS has, as it's being replaced. Is that not the case?"


Right. I know the Mail folder is inside my user Library folder. I appreciate your cautions and your helpfulness, steve626. Much thanks for taking this much time with me.

Sep 13, 2020 1:43 PM in response to Stephen Souza1

Stephen Souza1 wrote:

I do find that Mail quits more than it ought to. Does that indicate that Sierra, which I'm on, has "issues"? I would have thought that upgrading to a new OS would solve any issues that the older OS has, as it's being replaced. Is that not the case?

Mail does not typically quit on its own. That's not normal. It's most likely an issue with your Mail files and possible corruption or internal bookkeeping issues within your Mail files and folders. It can result from a system crash that happens while Mail is receiving or sending email. Or from something else unexplained.


It might be worth trying to address the Mail issues before upgrading. But when you upgrade, Catalina will import and convert the mailboxes to a new version of Mail anyway. My suspicion is that when Catalina imports from your old Sierra mailboxes, it will do mostly what you would be doing if you were rebuilding or re-indexing those anyway under Sierra.


When I said "issues," I meant unexplained system level freezes, crashes, restarts. Do you have those, or other oddities like that? Mail comes as part of the Mac OS suite, so I'm not sure what to make about your Mail unexpected quits. The clean install might be most beneficial with regard to third party software problems, versus those that come with the Mac OS, as those will all be new anyway.


You could do these things and see if the Mail issues resolve before upgrading:


  • Boot into Safe Mode, which may take 10-30 minutes, it is slow. It will check and repair the file system and empty some caches, either of which could help with the Mail quits.
  • Run Disk Utility to check your file system under first aid. This might be redundant with what booting into Safe Mode does, but Disk Utility lets you watch the progress and see what could NOT be repaired. Which might lead you to want to reformat if there are unrepairable problems.
  • Check disk SMART status under Disk Utility.

Sep 14, 2020 10:59 AM in response to steve626

I did boot into Safe Mode. I've Run Disk Utility. I did Rebuild the Mail boxes. I even Restarted and went to the Recovery Drive and Reinstalled OS Sierra. I then updated anything that needed to be updated through the Mac App Store. The disk SMART status is "Verified" in Disk Utility. There are still Mail issues. QUESTION: Doesn't reinstalling the OS through the Recovery HD put a brand new version of the OS on the HD?

Mail usually quits (1) when I do Command-Option-J and delete the Junk mail; and (2) if I choose Mailbox-Erase Deleted Items-In All Accounts.

Do you think there's some other kind of issue, and is it serious? Would installing Catalina over this not solve the problem? Is a Clean Install called for?

By the way, I really appreciate all the help I'm getting from you.


Sep 14, 2020 11:37 AM in response to Barney-15E

Are you saying I might create a new Account and Password for iCloud? Wouldn't Apple object or prevent that? If I created a new account, how would I add my email accounts to that?


Could the configuration and preference files be deleted and would the recreate themselves anew? I know what preference files are, I'm not sure what configuration files are.


What I'm really concerned about is could this issue crash the entire HD? Could it make me lose all my data and files?

Sep 14, 2020 12:00 PM in response to Stephen Souza1

Are you saying I might create a new Account and Password for iCloud?

No. A new account on your Mac. If it is an iCloud email account, you will have to sign into iCloud on the new account to get the email working.

Could the configuration and preference files be deleted and would the recreate themselves anew?

Preferences are almost always Preference List (.plist) files. Preference List files are not necessarily "Preferences" that are recreated from defaults.

Mail is a bit sticky in that way. By configuration files in Mail, I am talking about the "Envelope Index" and other databases it creates (including some plist files). Those things all tie together the raw messages and attachments into the display in Mail. Deleting the Envelope Index will cause Mail to "Rebuild" the mailboxes by digging through all of the raw messages stored on your Mac.

If you delete some of the plist files in the ~/Library/Mail, you may break stuff that would help it index the email.


If you have all IMAP or other server-based email accounts, and you have not stored messages in "On My Mac" mailboxes, you can just "reset" your email accounts by signing out of the email accounts in Internet Accounts system preferences (AppleID for iCloud), then add the accounts anew. Before adding them, I would delete everything in the ~/Library/Mail folder and ~/Library/Preferences/com.apple.mail.plist.

Could it make me lose all my data and files?

Maybe I missed it above. Do you not have at least one backup?

Even if I had a backup, I would copy the ~/Library/Mail folder over to another drive as a secondary backup.


Another way to try to clean up Mail is to delete the ~/Library/Containers/com.apple.mail/ folder. That's the Mail "sandbox" and contains all of the config and preferences for the app.


But, I'm not sure how we got to Mail in this whole thing. We started with Poser and its plethora of versioned preferences.


Sep 14, 2020 12:28 PM in response to Barney-15E

I don't know what you mean by Deleting the Envelope Index will cause Mail to "Rebuild" the mailboxes by digging through all of the raw messages stored on your Mac.


I do have stored messages in "On My Mac" mailboxes. Could I remove them and then reinsert them if Mail was rebuilt?


The active accounts are IMAP. I'm not using the POP accounts, so I do not care if data is lost there.


I don't understand how to do this: you can just "reset" your email accounts by signing out of the email accounts in Internet Accounts system preferences (AppleID for iCloud), then add the accounts anew.


If I deleted this: Another way to try to clean up Mail is to delete the ~/Library/Containers/com.apple.mail/ folder. That's the Mail "sandbox" and contains all of the config and preferences for the app.


Would the Mac OS rebuild this? What would be lost, if anything?


And, yes, I do have at least one backup.


Yes, I see that there's been a little journey. I wanted to get prepared to go to Catalina. I was concerned about all the Poser Preference files. I'm also concerned about the way Mail is working. If it's at all possible, I'd like to get it working correctly, especially if going up to Catalina is not going to correct the Mail problems. I think I need more step by step help of what to do, as (and I apologize) I don't understand some of the things that you are saying.


I did find the ~/Library/Containers/com.apple.mail/ folder. I'll post a screen shot, as there's more than one folder there. Do you just mean to delete the first, the com.apple.mail?


I do have a screenshot of the Internet Accounts in the Preferences Folder, but I don't understand how to sign out and sign in again.


So, I guess I really need help with what to do, and not cause any problems.






This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Deleting Preference and Other Files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.