Show HN: DriveSync – fast Git-styled Google Drive sync CLI

Posted by rohityadavcloud 14 hours ago

Counter17Comment12OpenOriginal

Comments

Comment by kingkopco 1 hour ago

This is really interesting. I appreciate the ability to resume an upload.

Comment by rohityadavcloud 34 minutes ago

Thank you.

Comment by spawrks 12 hours ago

I appreciate the "no delete" starting point, but is there a way to override that if desired? I can see the workaround is to delete one side and sync so no big deal just curious

Comment by rohityadavcloud 11 hours ago

Currently, 'dsync diff' will show (conflict) files including any that does not exist on either side (local or remote) and requires user to those cases manually. If you rm a file locally and push, Drive keeps it, and the next pull brings it back. To remove something, delete it on both sides yourself (locally plus on the Google Drive).

But this is a fair ask, I'd keep the default behaviour of 'no delete' but I'll work on to add a --delete flag for users to override that (in the release v0.4.0 this week). Thanks for the feedback.

Comment by quartzic 11 hours ago

What's different between this and rclone?

Comment by rohityadavcloud 11 hours ago

This is faster (on tracking changes via diff, handling resumes & parallel streams) and narrow in scope than rclone. rclone is a fantastic tool for those you're used to it, there is no reason to pick this over rclone if one is happy with it.

I've explained a bit more here: https://www.reddit.com/r/macapps/comments/1wahrfw/comment/p8...

Comment by majorchord 10 hours ago

> Windows is not supported.

Any particular reason?

Comment by rohityadavcloud 10 hours ago

Not able to develop and test it on Windows and I hit some blocker on arm64 cross compiling so I've skipped it for now, sticking with macOS and Linux. Are you a Windows user?

Comment by tonymet 9 hours ago

i'm on windows feel free to send me a ticket on your app and I can help out. i'm also pretty good with GCP oauth apps.

http://github.com/tonymet

Comment by rohityadavcloud 9 hours ago

Thanks Tony. Windows binary of DriveSync is available on the releases now, any testing and feedback is much appreciated: https://github.com/scaleninja/drivesync/releases/tag/v0.4.1

For setup (oauth etc) I wrote this guide that you may refer https://github.com/scaleninja/drivesync/blob/main/docs/SETUP...

Comment by tonymet 12 hours ago

I’m a big fan of “use your own storage” apps like this great work!

Comment by rohityadavcloud 11 hours ago

Thanks!

Comment by MakingSimple 12 hours ago

[flagged]

Comment by dankai 12 hours ago

[dead]