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