uuidparse

Parse and display UUID information

TLDR

Parse UUIDs
$ uuidparse [uuid1] [uuid2]
Parse from stdin
$ [command] | uuidparse
JSON output
$ uuidparse -J [uuid1] [uuid2]
No header line
$ uuidparse -n [uuid1] [uuid2]
Raw output
$ uuidparse -r [uuid1] [uuid2]
Select output columns
$ uuidparse -o [UUID,VARIANT,TYPE,TIME]

SYNOPSIS

uuidparse [OPTIONS] [UUID...]

DESCRIPTION

uuidparse parses and displays information about UUIDs. It shows the variant (e.g., DCE), type (e.g., random, time-based), and embedded timestamp for time-based UUIDs.The tool can parse UUIDs from command-line arguments or standard input.

PARAMETERS

-J, --json

JSON output format
-n, --noheadings
Don't print header line
-r, --raw
Raw output format
-o, --output COLUMNS
Select output columns (supported: UUID, VARIANT, TYPE, TIME).
-V, --version
Display version information and exit.
-h, --help
Display help information

INSTALL

sudo apt install uuid-runtime
sudo apk add util-linux-misc

CAVEATS

Only parses standard UUID formats. Time extraction only works for time-based (v1) UUIDs. Part of util-linux package.

SEE ALSO

uuidgen(1), uuid(1), uuidd(8)