LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ark

Create, view, and extract archives graphically.

TLDR

Extract a specific archive into the current directory
$ ark -b [path/to/archive]
copy
Extract an archive into a specific directory
$ ark -b -o [path/to/directory] [path/to/archive]
copy
Create an archive and add specific files to it
$ ark -t [path/to/archive] [path/to/file1] [path/to/file2]
copy

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
copy
sudo dnf install ark
copy
sudo pacman -S ark
copy
sudo apk add ark
copy
sudo zypper install ark
copy
brew install ark
copy
nix profile install nixpkgs#ark
copy

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.

SEE ALSO

tar(1), unzip(1), 7z(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid