Unfortunately, I had to suddenly replace a lost MacBook. It has about 200GB of documents (almost anything that matters) in iCloud Drive.
- Open new MacBook
- Full Time Machine restore via Migration Assistant
- iCloud Drive is empty (and apart from app-specific directories, has been empty for about a day with no activity from
brctl log --wait --shortenor iCloudStatus
(Presumably if I just leave my Mac powered on and connected to WiFi for several months or years, all 200GB will download to it and become available.)
So, I have four other Macs on my home network. What I'd like to do is just go to one of those machines and:
tar -zcvf icloud.tar.gz "~/Library/Mobile Documents/com~apple~CloudDocs"
- Disable iCloud Drive's daemons from running or connecting to iCloud Drive (without disabling iCloud Drive from the user prefpane, which will delete the directory upon re-enabling it)
- Move the backup to the new MacBook and expand it into its own "com~apple~CloudDocs" directory
- Reenable iCloud Drive in such a way that it will respect the new files, the fact that they are identical, and neither corrupt anything or duplicate anything.
I've attempted this in less significant ways before and have never figured out a workable approach to either step #2 or step #4 Unfortunately, Google has been lousy for researching this because 99% of hits re about people restoring iOS devices from iCloud backups.