Hacker News new | ask | show | jobs
by rohityadavcloud 87 days 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.

1 comments

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.
You're awesome, thank you!
That was a great suggestion - thank you!

Also a few folks also asked for a UI for macOS, so I also got a menubar (UI) app published on the Mac App Store which too uses the bundled open source dsync CLI. Updated: https://scaleninja.com/drivesync/

App Store link: https://apps.apple.com/app/drivesync-for-google-drive/id6813...