Rclone: Difference between revisions

From Alpine Linux
(→‎Installation: rclone is available in the repos)
m (fixed typos)
 
(4 intermediate revisions by 2 users 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 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 =
{{Note|The current version of rclone i.e v1.68.2 in Alpine Linux v3.21 does not support [[:Category:S390x|S390x]] and [[:Category:LoongArch64|LoongArch64]]}}


{{Obsolete|rclone is available in the community repo. try <code>apk add rclone</code>}}
== 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.
To install {{pkg|rclone}} package, issue the command.{{cmd|# apk add {{pkg|rclone}}}}


{{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.}}
== Configuration ==


Download appropriate installation candidate, unzip, and enter into the directory:  
To configure rclone, use the rclone config command, following the prompts for your platform of choice:{{cmd|$ rclone config}}


<pre>curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
RcloneBrowser, a GUI for rclone is available in [[Repositories#Testing|testing]] repository with the package name {{pkg|rclone-browser}}.
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64
</pre>


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


<pre>
*[https://rclone.org/docs/ Rclone official website]
sudo cp rclone /usr/bin/
*[https://kapitainsky.github.io/RcloneBrowser/ RcloneBrowser official website]
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 =
 
To configure rclone, use the rclone config command, following the prompts for your platform of choice:
 
{{cmd| rclone config}}
 
See the detailed documentation available on the [https://rclone.org/docs/ rclone] website.


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

Latest revision as of 10:24, 17 December 2024

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.

Note: The current version of rclone i.e v1.68.2 in Alpine Linux v3.21 does not support S390x and LoongArch64

Installation

To install rclone package, issue the command.

# apk add rclone

Configuration

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

$ rclone config

RcloneBrowser, a GUI for rclone is available in testing repository with the package name rclone-browser.

See Also