ark
Create, view, and extract archives graphically.
TLDR
Extract a specific archive into the current directory
$ ark -b [path/to/archive]
Extract an archive into a specific directory$ ark -b -o [path/to/directory] [path/to/archive]
Create an archive and add specific files to it$ ark -t [path/to/archive] [path/to/file1] [path/to/file2]
SYNOPSIS
ark [options] [archive] [files]
DESCRIPTION
ark is KDE's graphical archiving tool that supports creating, viewing, extracting, and modifying archives. It handles numerous formats including tar, gzip, bzip2, zip, rar, 7z, and many others through plugins.When run with command-line options, ark can operate in batch mode without displaying its GUI, making it useful for scripting and automation.
PARAMETERS
-b, --batch
Use batch mode (no GUI) to extract archives-o, --destination directory
Extract to the specified directory-t, --add-to archive
Add files to an archive, creating it if necessary-c, --add
Add files to an existing archive-e, --extract
Open the extraction dialog-d, --dialog
Show a dialog to choose extraction options instead of extracting silently-f, --changetofirstpath
Use the first archive entry's path as the destination (with -b)
INSTALL
sudo apt install ark
sudo dnf install ark
sudo pacman -S ark
sudo apk add ark
sudo zypper install ark
brew install ark
nix profile install nixpkgs#ark
CAVEATS
Some archive formats require additional plugins or external programs. RAR creation requires rar (proprietary), while extraction works with the free unrar. Format support depends on installed KDE archive plugins.
