Usage:
kar [OPTIONS] -c|--create <Archive> -d|--directory <Directory> [Filter ...]
kar [OPTIONS] -x|--extract <Archive> -d|--directory <Directory>
kar [OPTIONS] -t|--test|--list <Archive>
Summary:
Create, extract from, or test an archive.
Archive Command:
All of these options require the next token on the command line to be
the name of the archive
-c|--create <archive> Create a new archive.
-x|--extract <archive> Extract the contents of an archive into a directory.
-t|--test <archive> Check the structural validity of an archive
Optionally listing its contents
Archive:
Path to a file that will/does hold the archive of other files
Directory:
Required for create or extract command, ignored for test command
Filters:
When present these act as include filters.
Any file name will be included in the extracted files, created archive
or test operation listing
Any directory will be included as well as its contents
Options:
-d|--directory <Directory> The next token on the command line is the
name of the directory to extract to or create
from
-f|--force (no parameter) this will cause the extract or
create to over-write existing files unless
they are write-protected. without this
option the program will fail if the archive
already exists for a create or the target
directory exists for an extract
-a|--align <alignment> Forces the alignment of files in create
mode putting the first byte of included
files at <alignment boundaries
alignment: 1|2|4|8
(default=4)
-l|--long-list more information will be given on each file
in test/list mode.
-h|--help Output a brief explantion for the program.
-V|--version Display the version of the program then quit.
-L|--log-level <level> Logging level as number or enum string.
One of (fatal|sys|int|err|warn|info) or (0-5)
Current/default is warn
-v|--verbose Increase the verbosity level of the program.
Use multiple times for more verbosity.