-
-
Notifications
You must be signed in to change notification settings - Fork 248
Terminal support
aONe edited this page Nov 24, 2024
·
8 revisions
Since Keka version 1.2.11 you can use Keka from the Terminal.
Just run the Keka binary with the --cli
argument, like this (your Keka.app location might be different):
/Applications/Keka.app/Contents/MacOS/Keka --cli
You can also create an alias (#1378) so it can be called easily (your Keka.app location might be different):
alias keka="/Applications/Keka.app/Contents/MacOS/Keka --cli"
Then simply execute keka
. You can remove the alias like this:
unalias keka
Execute Keka with --help
or -h
command to print your current version usage information.
Usage: Keka [options] --cli [binary] [binary specific options ...]
Run Keka as a command-line interface process.
You should run Keka with the --cli option followed by the binary to use.
Any other Keka option should go before the --cli argument.
Example: Keka --ignore-file-access --cli tar -cf file.tar folder
Options:
-h, --help show this help message and exit
--version show the Keka version
-v, --verbose show verbose logging output
--cli run Keka as a CLI process
--ignore-file-access ignore the File Access warning and try the operation anyway
To see each binary options just run --client [binary] --help.
Example: Keka --client 7zz --help
Binaries:
7z
7zz
brotli
kwet
lbzip2
lrzip
lz4
lzip
pbzip2
pigz
plzip
snzip
tar
unar
unrar
xz
zstd
Starting with Keka version 1.1.0, there're some commands that you can use while calling GUI Keka from the Terminal.
Those are not used when running the client version.
-
-a
: Automatic operation -
-c
: Force compression -
-x
: Force extraction
-
-sft
: Skip open files timer (#57)
From v1.2.11 to v1.2.16 you should call --client
instead of --cli
Keka, the macOS file archiver (https://www.keka.io)