OS Manuals

rz-ar(1)

rz-ar — List and extract members from .a and .lib archives

RZ_AR(1) General Commands Manual RZ_AR(1)

rz-ar — List and extract members from .a and .lib archives

rz-ar [-hlqv] [-o outdir] archive [member ...]

This command is part of the Rizin project.

rz-ar lists or extracts archive members from .a and .lib files. It creates missing directories in the output path automatically.

When no member filters are provided, all members are processed. When one or more member arguments are provided, only matching members are processed.

The options are:

Show usage help message.
List matching members only.
outdir
Set extraction output directory (default: current directory).
Quiet mode.
Show version information.

0
Operation completed successfully.
1
Invalid arguments, open failure, no matches, or extraction failures.

List all members:

rz-ar -l libfoo.a

Extract all members into current directory:

rz-ar libfoo.a

Extract selected members into output directory:

rz-ar -o out libfoo.a foo.o bar.o

rizin(1), rz-bin(1), rz-hash(1)

March 14, 2026 Linux 4.19.0-gvisor

rizin 0.9.1-r2 · os · ingested 2026-10-31