asimov icon indicating copy to clipboard operation
asimov copied to clipboard

Extending functionality to iCloud Drive Sync

Open keystorm opened this issue 5 years ago • 3 comments

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!

keystorm avatar Oct 12 '18 16:10 keystorm

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! 😉

stevegrunwell avatar Oct 14 '18 16:10 stevegrunwell

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!

keystorm avatar Oct 15 '18 00:10 keystorm

This would be amazing!

tomitrescak avatar Mar 07 '22 04:03 tomitrescak