Rclone: Difference between revisions

From Alpine Linux
(→‎Installation: rclone is available in the repos)
(update installation instructions)
Line 3: Line 3:
= Installation =
= Installation =


{{Obsolete|rclone is available in the community repo. try <code>apk add rclone</code>}}
{{cmd|# apk add {{pkg|rclone}}}}
 
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:
 
<pre>curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64
</pre>
 
Move the binary to /usr/bin and give it appropriate ownership and permissions:
 
<pre>
sudo cp rclone /usr/bin/
sudo chown root:root /usr/bin/rclone
sudo chmod 755 /usr/bin/rclone
</pre>
 
Install manpages:
 
<pre>
sudo mkdir -p /usr/share/man/man1
sudo cp rclone.1 /usr/share/man/man1/
sudo makewhatis /usr/share/man
</pre>


= Usage =  
= Usage =  
Line 36: Line 9:
To configure rclone, use the rclone config command, following the prompts for your platform of choice:  
To configure rclone, use the rclone config command, following the prompts for your platform of choice:  


{{cmd| rclone config}}
{{cmd|$ rclone config}}


See the detailed documentation available on the [https://rclone.org/docs/ rclone] website.
See the detailed documentation available on the [https://rclone.org/docs/ rclone] website.


[[Category:Storage]]
[[Category:Storage]]

Revision as of 10:46, 10 November 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

# apk add rclone

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.