I have successfully installed Rclone, and can mount my OneDrive cloud storage at ~/OneDrive.
I would now like to sync local files with my OneDrive cloud storage, but don't understand how to do this. Do I simply move local files into my ~/OneDrive directory?
Also, is it possible to mirror local, and cloud files? I would like to end up with a local copy of all OneDrive files, and keep everything in sync (with local and cloud changes).
Thank you in advance.
Rclone version v1.50.2
Linux Mint 20.2, 64 bit
Microsoft OneDrive
I think you missed the whole template as you have an old version of rclone so you'd want to update that.
The mount stays in sync but does depend a bit on your mount command to reflect changes so it's hard to give feedback since we don't know what you are running.
What is your rclone version (output from rclone version)
rclone v1.50.2
os/arch: linux/amd64
go version: go1.13.6
I do not understand how to update to the latest version on Linux Mint. Should I run the script on the Downloads page?
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux Mint 20.2, 64 bit
Which cloud storage system are you using? (eg Google Drive)
Microsoft OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Paste command here
The rclone config contents with secrets removed.
Paste config here
A log from the command with the -vv flag
Paste log here
Regarding sync, I do not know how to keep a local copy of my OneDrive files that were present on OneDrive before I started mounting the storage on Linux using rclone. However I can, of course place new files in the mount directory I named, onedrive, and these sync to OneDrive cloud.
Regarding sync, I do not know how to keep a local copy of my OneDrive files that were present on OneDrive before I started mounting the storage on Linux using rclone. However I can, of course place new files in the mount directory I named, onedrive, and these sync to OneDrive cloud. But all files disappear from my local onedrive directory when I disconnect.
I am not sure what you mean as I've asked a few times as to what command you are running.
Are you running a mount command? If so, what command are you running.
Are you running a sync command? If so, what command are you running.
Are you running neither of those and something else? If so, what command are you running.
Thank you for your patience. My answers to your questions:
Mount command: sh -c "rclone --vfs-cache-mode writes mount onedrive: ~/onedrive". I have added this command to Startup Applications, to automount my onedrive directory.
A mount is real time and if you have something you copy to your mount, it'll upload to your onedrive. Same thing if you add something to your onedrive, in a few minutes it will appear on your mount.
Yes, that's happening. However, if I disconnect/eject the storage in file manager the local onedrive directory is empty. Files only display there when the storage is mounted. I would like files to download to this directory for offline use.