ZARCHIVE(1)
π¦ zarchive β create and read zstd-compressed file archives
okay bestie so this is a General Commands Manual page, meaning zarchive is a lil command-line cutie you run in your terminal. and it's literally so good. let me tell you everything π
β¨ SYNOPSIS β¨
zarchive input_path [output_path]
that's it. that's the whole vibe. one required argument, one optional one, slay π
πΈ DESCRIPTION πΈ
zarchive lets you create and read file archives in the ZArchive format β you'll see those files with the .zar extension π
so like. ZArchive is yet another file archive format. think of zip, tar, 7z, etc. β you know the drill β but with the requirement of allowing random-access reads and supporting compression β¨
so basically the whole point is: you can jump straight to whatever part of the archive you want, no rewinding through the whole file like it's a VHS tape π and it's compressed too. iconic behaviour, honestly.
π EXIT STATUS π
- exits
0on success π«Ά - exits
>0if an error occurs π
so yeah if you're scripting this, check that exit code, fr fr.
π EXAMPLES π
here's the moment you've been waiting for, bestie:
$ zarchive src
Outputting to: src.zar
Adding main.cpp
Adding zarchivereader.cpp
Adding zarchivewriter.cpp
Adding sha_256.c
Adding sha_256.h
look at that. you point it at a directory (src) and it tells you where it's going (Outputting to: src.zar) and then lists every single file it's scooping up one by one. the way it just names them all... obsessed πβ¨
π SEE ALSO π
go give that one a read too, it's the compression backbone of this whole situation π§
π AUTHORS π
the ZArchive format, library and tool were written by Exzap β absolute main character energy π
and this zarchive manual page was written by Andrea Pappacoda <tachi@debian.org> π
okay so that's the whole page!! thanks for coming to my ted talk π«Ά
this was the Debian build, dated 2022-08-30, and it's the ZARCHIVE(1) page in case you need to find it again. bye bestie, go archive something π
β¨
π¦ where this page comes from
- debian trixie: zarchive-tools 0.1.2-3 Β· MIT-0
- ubuntu questing: zarchive-tools 0.1.2-3
- ubuntu resolute: zarchive-tools 0.1.2-3.1 Β· MIT-0
- ubuntu stonking: zarchive-tools 0.1.2-3.1 Β· MIT-0
- π the page's license: ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms