The somewhat annoying thing about articles on how to do clean installs is that they don't discuss how to get apps and files in place afterwards so that my Mac "acts like it used to" except for the changes brought by Catalina itself.
To have a "true" clean install without losing functionality, I'd reinstall all apps from scratch. Which means I'd have to (1) catalog everything I have and, for those that didn't come from the App Store, (2) make sure I had the installation files or weblinks to install them all.
It might be a good thing to do, but it would be a tedious and non-trivial process, and it'd be easy to fail to install stuff I don't think about but find useful. I have over 120 apps, and the majority did not come from the App Store. And not all apps are in
/Applications. Some such as
MySQL and
Homebrew reside in
/usr/local; X11 resides in
/opt.
RCDefaultApp lives in
/Library/PreferencePanes.
Also, the article also does not discuss how to bring back user files. Sure, it tells you to do a backup before wiping the disk and doing the clean install, but it says nothing about restoration afterwards. After the clean install, do I create a user from scratch? Do I then restore files from the Time Machine backup? What do I restore and what do I leave behind?
Restoring
~/Documents, ~/Downloads, ~/Movies, ~/Music, and ~/Pictures seems obvious enough, but what of the rest? There's no doubt that my old
~/Library and
/Library/Application Support directories are full of cruft, but they also contains useful settings honed over the years for various apps (e.g. MS Office, iDrive) and, I'm guessing, files pertaining to software licenses. So should I restore them as well? And if I'm restoring files to a new user directory, is there a risk that permissions will get messed up.
To reiterate: it's not trivial to do a clean install
and have things work the way I want them to.
What I'm thinking of doing is:
- Manually remove stuff I never use and other crap from my home directory and from /Applications. Fortunately, I've been pretty good at housekeeping over the years, so this shouldn't be difficult.
- Make sure that Time Machine runs a full backup after my cleanup.
- Perform a clean install of Catalina.
- Use Apple's Migration Assistant tool to restore my applications, documents, and settings.
- Open up my most recent Time Machine backup and do a cross-check on the following folders to make sure I haven't missed anything important—while being careful not to overwrite any newer files.
- /Library/Applications Support
- /Library/Extensions
- /Library/Fonts
- /Library/Internet Plug-Ins
- /Library/LaunchAgents
- /Library/LaunchDaemons
- /Library/PreferencePanes
- /Library/PrivilegedHelperTools
- /iDriveLocal
- /usr/local
- /opt
Does this seem a reasonable approach?