hadris-cpio-cli-1.0.3 is not a library.
Hadris CPIO CLI
Command-line utility for CPIO archive operations.
Installation
Or build from source:
The binary will be available as cpioutil.
Usage
# List archive contents
# Display archive information
# Create an archive from a directory
# Extract an archive
# Print a file from the archive
Commands
| Command | Description |
|---|---|
list |
List archive entries (like cpio -t) |
info |
Display archive format, entry count, and per-entry metadata |
create |
Create a CPIO archive from a directory |
extract |
Extract an archive to a directory |
cat |
Print a single file's contents to stdout |
list
Lists all entries in the archive, one per line.
info
Shows archive-level summary and detailed per-entry metadata.
========================
)
)
ino=1 nlink=1 uid=501 gid=0 size=12 mtime=1700000000
dev=0,0 rdev=0,0 check=0x00000000
create
Packs a directory into a CPIO archive. Use --crc for the 070702 format.
extract
Extracts files, directories, and symlinks. Device nodes and FIFOs are skipped with a warning.
cat
Prints a single file's contents to stdout, useful for quick inspection.
Interoperability
Archives created by cpioutil are readable by system cpio:
Archives created by system cpio -H newc are readable by cpioutil:
|
License
Licensed under the MIT license.