brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: rclone about shows how much room is left on a remote

Rclone
~/tips/tip-rclone-about-quota

rclone about remote:

Reports total, used, free and trashed space for a cloud account.

Nothing spoils an overnight job like a destination that was already nearly full. Ask first.

One command shows the quota:

rclone about remote:

You get lines for Total, Used, Free, Trashed and Other. Trashed is the one I check, because deleted files that still count against your quota explain many a “but I removed them” moment. Other covers things like mail or photo storage that shares the same allowance.

For scripts, there is JSON output with the numbers in bytes:

rclone about remote: --json

That makes a pre-flight check easy. Read .free with jq, compare it with the size of what you’re about to send (rclone size /data --json has a .bytes field), and refuse to start if it won’t fit.

--full prints exact numbers instead of rounded units, which is useful when you compare two runs.

Support varies a lot. Some backends don’t implement about at all, and plain object storage often has no quota to report. Others leave out fields, and an unlimited value is simply omitted. So a script should treat a missing free as unknown, and never as zero or infinite. The overview page on the rclone site lists which backends support it.

Further reading: rclone about, rclone overview

Going deeper: Keep a domain pointed at your home with Cloudflare DDNS on Unraid

More Rclone tips rclone copyurl https://example.com/files/big.iso remote:isos -a rclone size remote:photos rclone config redacted rclone ncdu remote:backup rclone copy /data remote:data --bwlimit "08:00,1M 18:00,5M 23:00,off" -P All Rclone tips (14) All topics

Link