GuidesHuman Readable Byte Sizes

Human Readable Byte Sizes

Some config values support human readable byte sizes. For example, UPLOADER_ADMIN_LIMIT=50mb is the same as UPLOADER_ADMIN_LIMIT=52428800. The following units are supported:

UnitBytes
b1 byte
kb1024 bytes
mb1024 * 1024 bytes
gb1024 * 1024 * 1024 bytes
tb1024 * 1024 * 1024 * 1024 bytes
pb1024 * 1024 * 1024 * 1024 * 1024 bytes
Last updated: 8/5/2023
Edit this page on GitHub