What is the problem you are having with rclone?
I am trying to use rclone to sync my Google Drive with my laptop. I am running into two issues:
-
When I reboot my laptop, my mounts are gone, and I need to run
rclone mount GDrive: ~/rclone-GDrive
again, after which files start downloading anew. This seems unoptimal for workflow, as my GDrive has ~20GB of data, which takes about an hour to download every time. I wonder: Is this the intended behavior? I was hoping that once I have rclone set up, this would work the way other desktop clients do (I am thinking Dropbox here). -
Even after downloading, speeds are very slow. I was able to recreate this in a MWE as follows:
- I create a file
rclonetest
on my GDrive. It contains a 3.6MBtest.pdf
file (a presentation with 24 slides). - I create the remote
GDrive-test
which treatsrclonetest
as its root file; I did so following the instructions following the instructions found here to the best of my ability (I do create my own client_id and secret). The commandrclone ls GDrive-test:
outputs3778506 test.pdf
, as expected. - I make the directory
rclone-GDrive-test
. - I run
rclone mount GDrive-test: ~/rclone-GDrive-test
, and then opentest.pdf
. It takes ~30 seconds for the file to open; the same happens after closing and reopening. The file opens in ~1second when opening from my Downloads folder.
- I create a file
As you might tell from the above my background is not very strong, so if you could be extra clear with your instructions I would very much appreciate it. Thanks for your time.
Run the command 'rclone version' and share the full output of the command.
rclone v1.63.1
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 6.2.0-26-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.6
- go/linking: static
- go/tags: none
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
--> I believe this is the latest version as of Aug2023.
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
)
Does not apply
The rclone config contents with secrets removed.
[GDrive-test]
type = drive
client_id = XXXX
client_secret = XXXX
scope = drive
root_folder_id = XXXX
token = {"access_token":"XXXX","token_type":"Bearer","refresh_token":"XXXX","expiry":"XXXX"}
team_drive =
(all XXXX are redacted)
A log from the command with the -vv
flag
Does not apply.