Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

rclone

📅 2021-Nov-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ rclone ⬩ 📚 Archive

rclone is a great tool to manage cloud storage from the commandline. It supports almost all of the popular cloud storage providers, so you can sync up and sync down from any of them using the same commands.

$ sudo apt install rclone
$ rclone config

Minimally, you will be asked for information like the CSP you want to use, your account, your access key and a name for this CSP account.

Contents of an example rclone.conf for a Backblaze B2 account:

[backblaze_foobar]
type = b2
account = abracadabra
key = 0010fae0bf57e8779
endpoint =

Information about all the CSPs supported by rclone and their configs can be found here.

$ rclone sync /local/path/foobar backblaze_foobar:foobar_bucket
$ rclone sync backblaze_foobar:foobar_bucket /local/path/foobar

Tried with: rclone 1.50.2 and Ubuntu 20.04