hsize(1)

NAME
hsize - Convert file sizes to and from human-readable units

SYNOPSIS
hsize [-p|--precision] [-f|--from-scale] [-B|--from-binary] [-t|--to-scale] [-b|--to-binary] [-e|--scientific-notation] [-s|--separator] [-n|--no-b-suffix] [-S|--skip-short-numbers] [-h|--help] [-V|--version] [SIZES] [subcommands]

DESCRIPTION
Convert file sizes to and from human-readable units

OPTIONS

-p, --precision <PRECISION> [default: 1]
    Number of decimal places to display in the converted number

-f, --from-scale <SCALE>
    Size scale of the given numbers
    Possible values:

    •   b

    •   k

    •   m

    •   g

    •   t

    •   p

    •   e

    •   z

    •   y

    •   r

    •   q

-B, --from-binary
    Given numbers are powers of 2 (1K = 1024)

-t, --to-scale <SCALE>
    Size scale of the converted numbers
    Possible values:

    •   b

    •   k

    •   m

    •   g

    •   t

    •   p

    •   e

    •   z

    •   y

    •   r

    •   q

-b, --to-binary
    Converted numbers should be powers of 2 (1K = 1024)

-e, --scientific-notation
    Numbers should be displayed in scientific notation

-s, --separator <SEPARATOR> [default:  ]
    Characters to put between the number and unit

-n, --no-b-suffix
    Remove the 'B' from the end of the unit (MB -> M)

-S, --skip-short-numbers
    Skip converting numbers if they'll end up being longer than the original

-h, --help
    Print help

-V, --version
    Print version

[SIZES]

SUBCOMMANDS

hsize-replace(1)
    Use regex to search and replace numbers

hsize-generate(1)
    Generate various shell command files

VERSION
v0.1.0