Show HN: DriveSync – fast Git-styled Google Drive sync CLI (github.com)

19 pointsby rohityadavcloud21 hours ago13 comments

spawrks 19 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

rohityadavcloud 18 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.

rohityadavcloud 25 minutes ago

Update: a --delete option has been added, when specified on Drive, macOS & Windows it moves files to trash, on Linux it will permanently delete files.

kingkopco 9 hours ago

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

rohityadavcloud 7 hours ago

Thank you.

quartzic 18 hours ago

What's different between this and rclone?

rohityadavcloud 18 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...

majorchord 17 hours ago

> Windows is not supported.

Any particular reason?

rohityadavcloud 17 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?

tonymet 16 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

rohityadavcloud 16 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...

tonymet 19 hours ago

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

rohityadavcloud 18 hours ago

Thanks!