ark
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
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.


