archiving-utils

ARCHIVE / FIELD INDEX

Keep the files.
Prove the contents.

Package, inspect, compare, and recover local archives. Every compression pipeline checks the round trip before publishing its output.

FORMAT DESK

CBZ · CBR (READ) · CB7 · CBT · ZIP · TAR · GZIP · BZIP2 · XZ · ZSTD

WORK LOCALLY

Inspect first.
Write deliberately.

Clone the repository and install the required tools. Run this command to preview the work. Add --apply when the plan is right.

TERMINAL / PREVIEW
bin/archiving-utils folder-to-tar-xz --output collection.tar.xz ./collection

Sources retained · Existing outputs refused

THE TOOL INDEX

The archive cabinet

48 commands

libraryRead only

library-summary

Summarize file counts, byte sizes, empty files, and extensions without reading contents.

JSON to stdout
libraryRead only

library-dupes

Find exact SHA-256 duplicates without deleting files.

JSON to stdout
libraryRead only

hash-manifest

Print a JSON SHA-256 manifest for the input tree.

JSON to stdout
libraryRead only

hash-verify

Verify file presence and hashes against a JSON manifest.

JSON to stdout
libraryRead only

tree-diff

Compare file hashes and presence against another tree.

JSON to stdout
libraryRead only

path-audit

Report filename portability issues.

JSON to stdout
conversionCreates a copy

folder-to-zip

Package a directory as zip and verify member hashes.

--apply to write
conversionCreates a copy

archive-to-zip

Repack a verified archive as zip.

--apply to write
conversionCreates a copy

folder-to-tar

Package a directory as tar and verify member hashes.

--apply to write
conversionCreates a copy

archive-to-tar

Repack a verified archive as tar.

--apply to write
conversionCreates a copy

folder-to-tar-gz

Package a directory as tar.gz and verify member hashes.

--apply to write
conversionCreates a copy

archive-to-tar-gz

Repack a verified archive as tar.gz.

--apply to write
conversionCreates a copy

folder-to-tar-bz2

Package a directory as tar.bz2 and verify member hashes.

--apply to write
conversionCreates a copy

archive-to-tar-bz2

Repack a verified archive as tar.bz2.

--apply to write
conversionCreates a copy

folder-to-tar-xz

Package a directory as tar.xz and verify member hashes.

--apply to write
conversionCreates a copy

archive-to-tar-xz

Repack a verified archive as tar.xz.

--apply to write
conversionCreates a copy

file-to-gz

Compress individual files with gz and check the round trip.

--apply to write
conversionCreates a copy

gz-to-file

Decompress gz with a bounded output size.

--apply to write
auditRead only

gz-verify

Read and verify the complete gz stream.

JSON to stdout
conversionCreates a copy

file-to-bz2

Compress individual files with bz2 and check the round trip.

--apply to write
conversionCreates a copy

bz2-to-file

Decompress bz2 with a bounded output size.

--apply to write
auditRead only

bz2-verify

Read and verify the complete bz2 stream.

JSON to stdout
conversionCreates a copy

file-to-xz

Compress individual files with xz and check the round trip.

--apply to write
conversionCreates a copy

xz-to-file

Decompress xz with a bounded output size.

--apply to write
auditRead only

xz-verify

Read and verify the complete xz stream.

JSON to stdout
archiveCreates a copy

archive-extract

Extract regular files into a new directory after path and size checks.

--apply to write
auditRead only

archive-list

List members with sizes and SHA-256 hashes.

JSON to stdout
auditRead only

archive-verify

Check archive structure, member safety, and complete payloads.

JSON to stdout
auditRead only

archive-stats

Report member counts, stored size, and expansion ratio.

JSON to stdout
auditRead only

archive-manifest

Print member SHA-256 hashes without extraction.

JSON to stdout
comicRead only

comic-info

Inventory comic pages in natural filename order, sidecars and member hashes.

JSON to stdout
comicRead only

comic-verify

Verify every comic archive payload and report recognized page files.

JSON to stdout
comicCreates a copy

comic-extract

Extract all comic pages and sidecars into a new directory without renaming.

--apply to write
conversionCreates a copy

folder-to-cbz

Package a folder as CBZ while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cbz

Convert a comic archive as CBZ while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

folder-to-cb7

Package a folder as CB7 while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cb7

Convert a comic archive as CB7 while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

folder-to-cbt

Package a folder as CBT while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cbt

Convert a comic archive as CBT while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

folder-to-cbt-gz

Package a folder as CBT.GZ while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cbt-gz

Convert a comic archive as CBT.GZ while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

folder-to-cbt-bz2

Package a folder as CBT.BZ2 while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cbt-bz2

Convert a comic archive as CBT.BZ2 while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

folder-to-cbt-xz

Package a folder as CBT.XZ while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cbt-xz

Convert a comic archive as CBT.XZ while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

folder-to-cbt-zst

Package a folder as CBT.ZST while preserving member names, bytes and sidecars.

--apply to write
conversionCreates a copy

comic-to-cbt-zst

Convert a comic archive as CBT.ZST while preserving member names, bytes and sidecars.

--apply to write