Symbols count in article: 1.5kReading time ≈1 mins.
As a developer, sometimes I have to restore backups due to “beta” system issues.
Fortunately, most of the data is stored on servers these days. Not only Safari, Photos, Calendar, Notes, and Reminders, but also other apps use iCloud storage. This is a great improvement. I just need to reinstall apps from the App Store and brew shell after reinstalling the system.
But it’s annoying to set up SSH and configurations again. Plus, I might lose my private keys.
So I created a new folder named “macOS” in the iCloud Drive folder and copied all the files without a “.” to it. For example: .gitconfig ~> gitconfig.