Is there a way to sync 2way between local directories and Google Drive based on modified time

What is the problem you are having with rclone?

Not a problem at the moment, more a how to question.
I would like to synchronize a keepass database between 2 directories (one one my local computer, and one in a google drive directories). So that I can sync with other devices
The idea would be to update the local or remote files based on modified time. The newer will be synced everywhere.
Which command should I use, rclone sync or rclone bisync or any other ?
Thank you

Run the command 'rclone version' and share the full output of the command.

rclone v1.50.2

  • os/arch: linux/amd64
  • go version: go1.13.8

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

type = drive
scope = drive
token = {"access_token":"XXXXXXXXX"}
root_folder_id = XXXXXXXXXXXX

A log from the command with the -vv flag

Paste  log here

You'd have to update your version as that's very old.

Bisync was added a version or so ago:

Bisync (

That should do what you want I believe, but do test!

Thanks fo r the input, my Ubuntu Distro does not have the latest rclone in its repo. I've updated this.

It's not advised to use any package manager as they are often not maintained, very old versions. Rclone is a very easy install and has a self update function as well.