Rclone
Rclone is a command-line tool for managing cloud storage files. It provides a unified interface for many providers, including object storage, enterprise and consumer file services, and standard transfer protocols. It follows Unix-style conventions and works well with common shell tools such as rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat.
It is especially useful for tasks like synchronizing objects in a CDN workflow.
Installation
Official download page: https://rclone.org/downloads/
Follow the official installation guide. On Windows, adding Rclone to your PATH makes it much easier to use.
Basic commands
Common operations
Useful flags
Logs
Rclone supports four log levels: ERROR, NOTICE, INFO, and DEBUG.
By default, Rclone emits ERROR and NOTICE logs.
Filtering
Environment variables
Almost every rclone option can also be configured through environment variables. The variable name is derived from the long option name: remove the -- prefix, replace - with _, convert to uppercase, and add the RCLONE_ prefix.
Environment variables have lower priority than command-line flags. For example, if you set RCLONE_MIN_SIZE=50 but run rclone with --min-size 100, the command-line value wins.
Common environment variables
Last modified on April 19, 2026