Is it possible auto sync a directroy and make it from Rclone WebUI?

What is the problem you are having with rclone?

I'm trying to keep my OneDrive folder synced automatically

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

rclone v1.67.0

  • os/version: fedora 41 (64 bit)
  • os/kernel: 6.11.8-300.fc41.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: dynamic
  • go/tags: none

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

OneDrive

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

the sync command works, what I don't understand is how to make it happen automatically and if it is possible create a job from RcloneGUI

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

run it periodically. Utilise your OS capabilities. In Linux you can use crontab or systemd. Or any other scheduler you like.

Also might look at the rclone mount - maybe it fits better into your requirement than rclone sync.

This is dead project (at least temporarily) - see here. Better not to use as it is not maintained and contains multiple bugs.

1 Like

Hi,

Rclone being a command line program can't monitor your file system for changes and automatically synchronize.

However, if you combine Rclone with Freefilesync software you can achieve what you want. It provides real-time synchronization in the background for the operating system so if you have your Cloud Drive mounted to the drive letter or a folder in Linux you can use freefilesync real time synchronization feature to keep your local folder and your remote folder synchronized.

You can optionally as I do set up encryption so all of your files on your OneDrive are unreadable by Microsoft.

You can even set up file document versioning.

Hope this helps.

1 Like

I hope microsoft will read my files. Maybe they get smarter

another question

I wrote this command

rclone --verbose sync OneDrive: OneDrive/

what I expected was for the file to be deleted from OneDrive because I had deleted it locally. Instead it copied it to me locally.

How do I do a two-way synchronisation?

clone --verbose sync OneDrive: OneDrive/
2024/11/29 11:13:12 INFO : Video/pneumatica.mp4: Copied (new)

of course worked correctly in this way

rclone --verbose sync OneDrive/ OneDrive:

1 Like

You beat me to the bisync docs by less than a minute! :wink:

1 Like

One note here. Bisync is not as straightforward as rclone sync (but not rocket science neither). I suggest you read all documentation first and experiment with some test data until you get it working.

Full description (including step by step getting started) is here in case you miss this link:

1 Like