Crates.io | unseal |
lib.rs | unseal |
version | 0.0.1 |
source | src |
created_at | 2023-06-23 21:44:41.515972 |
updated_at | 2023-06-23 21:44:41.515972 |
description | CLI tool for unpacking archives |
homepage | |
repository | https://github.com/vadorovsky/unseal |
max_upload_size | |
id | 898632 |
size | 22,090 |
CLI tool for unpacking archives (of the most common types).
It's focused on simplicity such as:
Download the latest binary from the releases page.
cargo install unseal
unseal [OPTIONS] <INPUT>
Arguments:
<INPUT> Path to the archive to unseal
Options:
-o, --output <OUTPUT>
Directory to unpack the archive into [default: .]
-s, --strip-components <STRIP_COMPONENTS>
Strip the specified number of leading components from the archive [default: 0]
-v, --verbose
Verbose output
-h, --help
Print help
-V, --version
Print version
# Unpack archive.tar.gz into the current directory.
unseal archive.tar.gz
# Unpack archive.tar.xz into the directory /tmp/foo.
unseal -o /tmp/foo archive.tar.xz
# Unpack archive.tar.bz2 into the directory /tmp/foo, stripping the first component.
unseal -o /tmp/foo -s 1 archive.tar.gz