Difference between revisions of "Rclone"

From Alpine Linux
Jump to: navigation, search
(Created page with "[https://rclone.org/ 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 Ama...")
 
(Usage)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://rclone.org/ 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 S4.
+
[https://rclone.org/ 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 =
 
= 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.{{ref|a}}
+
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|a}}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.
+
{{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:  
 
Download appropriate installation candidate, unzip, and enter into the directory:  
Line 35: Line 35:
  
 
{{cmd| rclone config}}
 
{{cmd| rclone config}}
 +
 +
See the detailed documentation available on the [https://rclone.org/docs/ rclone] website.
  
 
[[Category:Storage]]
 
[[Category:Storage]]

Latest revision as of 16:46, 7 December 2018

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

See the detailed documentation available on the rclone website.