Rclone: Difference between revisions

From Alpine Linux
(→‎Installation: rclone is available in the repos)
Line 2: Line 2:


= Installation =
= Installation =
{{Obsolete|rclone is available in the community repo. try <code>apk add rclone</code>}}


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.
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.

Revision as of 13:27, 25 August 2023

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

This material is obsolete ...

rclone is available in the community repo. try apk add rclone (Discuss)

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

See the detailed documentation available on the rclone website.