asimov
asimov copied to clipboard
Extending functionality to iCloud Drive Sync
This tool is awesome. I can finally forget about excluding new projects manually and give my backup drive a well deserved break. Good job!
It would be amazing if you could do the same with iCloud Drive Sync. I know its implementation is really stupid, when compared to Time Machine, but it would make much more sense to have these exclusions automated aswell. I don't know if there's an exclusion list, but the node_modules.nosync
symlink method is really inconvenient for every day use.
Maybe you can come up with something. Cheers!
Hey @keystorm,
Great idea! I don't personally use iCloud Drive Sync myself, but there definitely seems to be a lot of overlap between blocking dev dependencies from Time Machine and iCloud.
This AskDifferent thread contains a bunch of iCloud Drive exclusion patterns, but it may be as simple as dropping an empty .nosync
file in place.
I think it's worth thinking about whether or not this should be default behavior or something that's configurable (perhaps via the Asimov configuration file proposed in #27?). It's also making me think "hey, what if we also added support for excluding development dependencies from cloud other cloud backup services, too?"
Damn, now you've got me thinking! 😉
Happy to hear that. Unfortunately in my experience (High Sierra until yesterday) dropping an empty .nosync file won't work. Appending .nosync to the filename however, different story. But reeeeeally cumbersome and forces you to symlink node_modules and maybe add the new folder to gitignore... A real disaster.
But if you find a less disruptive way. And with automation. Man, that would be really something. Because if you think it's bad saving those folders to an external device. you can't begin to imagine how painful it is to have them synced up for every single project. Plus crashes, plus thermal throttling... It's insane for a cloud backup.
So let me know. I'll be happy to test if needed!
This would be amazing!