Skip to main content

darchive 3.0.0 copy "darchive: ^3.0.0" to clipboard
darchive: ^3.0.0 copied to clipboard

A CLI tool that provides support for compression/expansion of a number of different archive types.

darchive #

A command line tool to manage archives.

Expands and Compresses files to/from an archive file.

darchive expand --name files.tar.gz --to extracted

TAR (.tar and .tar.gz) can be compressed and expanded. ZIP (.zip) and XZ (.xz, a TAR archive compressed with xz) can be compressed but cannot be expanded in 3.0.0. RAR expansion is also disabled until a safe decoder is available. TAR archives with PAX, sparse, or other extended entry types are rejected during expansion.

Expansion writes into a private staging directory and replaces the destination only after decoding succeeds. The default maximum total extracted size is 1 GiB; use --max-bytes to change it for a trusted archive. --to is required, and its destination must not be the current working directory. On Windows, the destination must be on the same volume as LOCALAPPDATA. Tar.gz expansion requires a working gzip command to verify the archive trailer.

Usage: darchive [arguments]

Global options: -h, --help Print this usage information. -d, --[no-]debug Show debug level logging

Available commands: compress Compresses a directory into an archive file expand Expands files from an archive file

0
likes
160
points
45
downloads

Documentation

API reference

Publisher

verified publisheronepub.dev

Weekly Downloads

A CLI tool that provides support for compression/expansion of a number of different archive types.

Repository (GitHub)

License

MIT (license)

Dependencies

archive, args, dcli, dcli_core, ffi, path

More

Packages that depend on darchive