Proton drive sync

Hi

I was trying to configure rclone to mount my proton drive, but noticed that proton drive wasn’t listed on the rclone configure list? Its weird because proton drive has been in the rclone backend list for quite some time now.

Does any one have a recommendation for what sync tool I can use thats compatible with Proton Drive?

It’s a beta feature for rclone, so you need to install the beta which can take a bit of work.

Ah.

Okay I get that from a stability perspective. Any documentation that you could point me to, to get me started on that bit of work?

The rclone downloads page has a link to the rclone beta downloads. Just download the latest rclone-beta-latest-linux-????.zip zip archive for your computer architecture. That will be the amd64 version.

rclone is just a single binary. Put it in your path, for example ~/.local/bin/, and if you want the man page (I depend so much on man pages myself), put the rclone.1 file in the man pages path, for example ~/.local/share/man/man1/.

In your terminal, cd to the folder where you downloaded the beta rclone.

First create the paths if they don’t exist; then extract the rclone binary, then extract the man page (I did consult the man page for unzip for this :wink:, after first trying tldr from brew install tealdeer):

mkdir -p ~/.local/bin ~/.local/share/man/man1
unzip -j rclone-beta-latest-linux-amd64.zip "rclone-*/rclone" -d ~/.local/bin/
unzip -j rclone-beta-latest-linux-amd64.zip "rclone-*/rclone.1" -d ~/.local/share/man/man1/

I put the filters on the files to extract in quotes because I use zsh instead of bash and it wouldn’t work without the quotes.

You may have to restart your session for the new folders to be in your PATH and for the beta rclone to supercede the one in /usr/bin/.

Check that it worked:

❯ ~/.local/bin/rclone help backends | grep proton
  protondrive  Proton Drive

Thank you so much!

All I was expecting was a: read this. You’ve gone way above and beyond.