Rclone

From ArchWiki

Merge-arrows-2.pngThis article or section is a candidate for merging with List of applications#Multi-protocol clients.Merge-arrows-2.png

Notes: No Arch-specific content, duplicates upstream documentation with no tangible benefit. (Discuss in Talk:Rclone)

Rclone is a command-line program to manage files on remote filesystems like cloud storage providers. It is a feature-rich alternative to cloud vendors' web storage interfaces. It has powerful cloud equivalents to the UNIX commands rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat.

It can be used to:

  • backup, restore, encrypt, decrypt files to cloud storage;
  • mirror or migrate data to and from other cloud services or locally;
  • mount or union multiple, encrypted, cached or diverse cloud (or local) storage, allowing usage of lsf, ljson, size, ncdu.

Rclone supports a large number of backend protocols and cloud storage providers. The full list can be found on their website [1]

Installation

Install the rclone package.

Usage

Rclone provides a guided configuration script as well as a large number of commands to be used.

Configuration

To configure a remote storage, simply run the guided setup like this

$ rclone config

Commands

Once a remote storage is configured, it is possible to access it using subcommands:

Listing a remote:

$ rclone ls remote:path

Copying /local/path to the remote:

$ rclone copy /local/path remote:path

Syncing /local/path to the remote:

$ rclone sync --interactive /local/path remote:path

For a full list of available subcommands see the documentation

Mount remote as FUSE-based filesystem

Rclone offers easy integration with FUSE by using the mount option

$ rclone mount remote:path/to/files /path/to/local/mount