2026-03-12 00:52:47 -04:00
|
|
|
Quick Start
|
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
Building
|
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
Requires CMake >= 3.16 and a C99 compiler (GCC, Clang, or MSVC).
|
|
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
|
|
cmake -B build
|
|
|
|
|
cmake --build build
|
|
|
|
|
|
|
|
|
|
The binary is at ``build/cli/uc2``.
|
|
|
|
|
|
|
|
|
|
Basic Usage
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
|
2026-03-12 02:04:13 -04:00
|
|
|
uc2 -w archive.uc2 file1 file2 # Create archive
|
2026-03-12 00:52:47 -04:00
|
|
|
uc2 archive.uc2 # Extract all files
|
|
|
|
|
uc2 -l archive.uc2 # List contents
|
|
|
|
|
uc2 -t archive.uc2 # Test archive integrity
|
|
|
|
|
uc2 -d /tmp/out archive.uc2 # Extract to directory
|
2026-03-12 02:04:13 -04:00
|
|
|
uc2 -w -L 5 big.uc2 data/* # Create with Ultra compression
|