Rclone: Difference between revisions

From Alpine Linux
(→‎Installation: rclone is available in the repos)
(use level 2 headings)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Delete|There are no alpine specific instructions needed}}
[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.
[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 ==
 
{{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.
 
{{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>
{{cmd|# apk add {{pkg|rclone}}}}
sudo mkdir -p /usr/share/man/man1
sudo cp rclone.1 /usr/share/man/man1/
sudo makewhatis /usr/share/man
</pre>


= Usage =  
== Usage ==


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

Latest revision as of 11:02, 10 November 2023

This material is proposed for deletion ...

There are no alpine specific instructions needed (Discuss)
Make sure no other pages link here and check the page's history before deleting.

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.