← Back to Docs

rclone — Scripted Sync and Transfer from the Command Line

rclone is the Swiss Army knife of cloud storage. Works on any OS, easy to automate with cron.

1. Install rclone

On Linux/macOS run curl https://rclone.org/install.sh | sudo bash. On Windows, download the installer from rclone.org.

2. Get your S3 credentials

Log in to your HummingTribe dashboard → S3 Storage tab. Copy your Access Key ID and Secret Access Key.

3. Configure a remote

Add the following to your rclone config file (~/.config/rclone/rclone.conf):

[hummingtribe]
type = s3
provider = Other
access_key_id = YOUR_ACCESS_KEY_ID
secret_access_key = YOUR_SECRET_ACCESS_KEY
endpoint = https://storage.hummingtribe.com
force_path_style = true
region = garage

4. Test the connection

List your bucket to confirm everything works:

rclone ls hummingtribe:your-bucket-name

5. Sync a folder

Copy a local folder to your bucket:

rclone sync /path/to/local hummingtribe:your-bucket-name/backups --progress

Add this to a cron job for automated daily backups: 0 2 * * * rclone sync /path/to/local hummingtribe:your-bucket-name/backups

← Back to Docs