Rclone

From Alpine Linux
Revision as of 16:43, 7 December 2018 by Astrawso (talk | contribs)

rclone is a command line program to sync files and directories to and from a large variety of cloud providers, including Google Drive, Backblaze, and Amazon S3.

Installation

There is currently no candidate for installation in Alpine, but rclone is written in GO and comes as a single binary file that is easy to manually download and install.

Note: There is currently a script which auto-detects your appropriate binary and installs the latest version, but without modification it doesn't currently work on Alpine.

Download appropriate installation candidate, unzip, and enter into the directory:

curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64

Move the binary to /usr/bin and give it appropriate ownership and permissions:

sudo cp rclone /usr/bin/
sudo chown root:root /usr/bin/rclone
sudo chmod 755 /usr/bin/rclone

Install manpages:

sudo mkdir -p /usr/share/man/man1
sudo cp rclone.1 /usr/share/man/man1/
sudo makewhatis /usr/share/man

Usage

To configure rclone, use the rclone config command, following the prompts for your platform of choice:

rclone config