I am new to rclone and I wold like to use it to sync files between my machines, using Google Drive (since I have it, it is accessed by all the machines and it is, up to a point, free) as a shared repository.
I understand the command should be:
rclone sync -i SOURCE remote:DESTINATION
so if I wanted to sync the Documents folder, I should use
~/Documents. But what is the line for the destination?
I am using Ubuntu 20 on all machines, and there is a google drive folder, thus I access it using a test folder in home as follows:
$ rclone version rclone v1.53.3 - os/arch: linux/amd64 - go version: go1.15.5 $ rclone sync -i ~/shareDir/ remote:/run/user/1000/gvfs/google-drive:host=gmail.com,user=*** 2020/12/03 14:46:18 NOTICE: Config file "~/.config/rclone/rclone.conf" not found - using defaults 2020/12/03 14:46:18 Failed to create file system for "remote:/run/user/1000/gvfs/google-drive:host=gmail.com,user=***": didn't find section in config file
I created a folder in Google Drive; I took the path from the folder's properties and I tried to link it with:
$ rclone mount remote:google-drive://***@gmail.com/ /home/***/ 2020/12/03 14:50:37 NOTICE: Config file "/home/***/.config/rclone/rclone.conf" not found - using defaults 2020/12/03 14:50:37 Failed to create file system for "remote:google-drive://***@gmail.com/": didn't find section in config file
What would be the correct procedure?