Skip to content

get_disk_usage

How much of this site’s storage is used and how much is left, in bytes. Typed inside bash, where help get_disk_usage prints the same.

Usage: get_disk_usage
How much of this site's storage is used and how much is left, in bytes.
Ask before telling the owner to upload something, so "add three photos
to the gallery" does not end with them meeting a refusal you could have
seen coming. `list_files` is what is actually stored.
`picture_metadata` is what the site does with a camera's notes on the
next upload: `archive` and `discard` serve visitors a copy with them
taken off, while `publish` serves the file as it arrived, so the
camera, the moment and, from a phone, the location go out with it. Say
which one is in effect when you upload a photograph for somebody. You
cannot change it; the owner does, on the Disk screen.
Options:
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.