Obbut / iCloud-Control

User-controlled selective sync for iCloud Drive
830 stars 60 forks source link

Non-synced items are forgotten after a reboot #4

Closed m4rkw closed 5 years ago

m4rkw commented 7 years ago

It seems that if items are deleted locally (and thus marked as not-to-sync), this is forgotten after a reboot.

Is there a way to set the no-sync status via the commandline so I can automate the process of persisting these settings after a reboot?

Obbut commented 7 years ago

I'm not aware of an existing way to set the sync status via the command line, but you could use the code from this repo to build a utility to do this yourself.

As for the status not persisting: Do you have iCloud drive set to "Optimize Mac storage" in System Preferences? If not, maybe iCloud will always download everything.