ARK(1)
β¨ ark β the KDE archiving tool bestie β¨
okay so real talk, this is the manual for ark, the KDE archiving tool π like, the actual Ark User's Manual, and it's giving "I can open literally any compressed thing you throw at me" energy. periodt.
π¦ SYNOPSIS
ark [-b] [-a] [-e] [-O] [-c] [-f suffix] [-p] [-t file] [-d] [-m] [-o
directory] [KDE Frameworks Generic Options] [Qt(TM) Generic Options]
no cap, that's the whole shape of it. keep reading, we're gonna go through every single one π«Ά
πΈ DESCRIPTION
Ark is a program for managing various compressed file formats within KDE π Archives can be viewed, extracted, created and modified with Ark. like, all four. main character behaviour fr fr.
The program can handle various formats such as tar, gzip, bzip2, zip, rar (when the appropriate libraries or command-line programs are installed). π note the little parentheses moment there β rar is a "when you have the right stuff installed" situation, not a guarantee. iykyk.
π OPERATION MODES
Ark can be used either as a stand-alone GUI program as well as a command-line program in order to perform some specific tasks. so it's bi-mode. iconic.
- If invoked without the
-b(--batch) or-c(--add) options, Ark is started as a normal GUI program. π₯οΈβ¨ - When the
-b(--batch) option is used, Ark can be used to extract the contents of one or more files directly from the command-line, without launching its GUI. π no window, just vibes. - When the
-c(--add) option is used, Ark prompts for files that should be added to a new archive or to an existing archive. π
π OPTIONS
-d,--dialogβ Show a dialog for specifying the options for a batch or add operation. it pops up and asks you stuff, very considerate π-m,--mimetypesβ List supported MIME types. so you can see exactly what formats it's down for π-o,--destinationdirectory β Default the extraction directory to directory. If not passed, the current path is used. so if you don't say where, it just goes "okay, here then" π
β¨ Options for adding files β¨
-c,--addβ Query the user for an archive filename and add specified files to it. Quit when finished. it asks, you answer, it adds, it dips π«‘-t,--add-tofilename β Add the specified files to filename. Create archive if it does not exist. Quit when finished. no existing archive? it just makes one. slay. π₯-p,--changetofirstpathβ Change the current directory to the first entry and add all other entries relative to this one. π§-f,--autofilenamesuffix β Automatically choose a filename, with the selected suffix (for examplerar,tar.gz,zipor any other supported types). let it pick the name, you just pick the suffix β¨
π¦ Options for batch extraction π¦
-b,--batchβ Use the batch interface instead of the usual dialog. This option is implied if more than one url is specified. so if you hand it multiple urls, bestie,-bis just assumed π-e,--autodestinationβ The destination argument will be set to the path of the first file supplied. πΈ-a,--autosubfolderβ Archive contents will be read, and if detected to not be a single folder archive, a subfolder by the name of the archive will be created. it checks first, then decides. so thoughtful π-O,--opendestinationβ Open the destination folder when the extraction is complete. it's like "done! here's where it went π"
π SEE ALSO
- More detailed user documentation is available from
help:/ark(either enter this URL into Konqueror, or runkhelpcenter help:/ark). π kf6options(7)qt6options(7)
π EXAMPLES
ark --batch archive.tar.bz2
Will extract archive.tar.bz2 into the current directory without showing any GUI. pure command-line, zero windows, immaculate. π
ark -b -d archive.tar.bz2 archive2.zip
Will first show an extraction options dialog and then extract both archive.tar.bz2 and archive2.zip into the directory chosen in the dialog. two archives, one dialog, extremely efficient π«Ά
ark --add-to my-archive.zip photo1.jpg text.txt
Will create my-archive.zip if does not exist and then add photo1.jpg and text.txt to it. (yes, the original says "if does not exist" β we're keeping it exactly like that, no edits, no cap π)
π MAINTAINERSHIP
Ark is currently maintained by Elvis Angelaccio and Ragnar Thomsen. thank you for your service, legends π«‘π
π AUTHORS
- Lauri Watts
<lauri@kde.org>β Initial version of Ark man page in 2005. the OG π± - Raphael Kubo da Costa
<rakuco@FreeBSD.org>β Update of Ark man page in 2009. glow-up era β¨ - Ragnar Thomsen
<rthomsen6@gmail.com>β Update of Ark man page in 2015 and 2016. double update, double slay π
and that's the whole thing bestie, every flag, every path, every author, every last detail π go forth and extract responsibly πΈ
this page is from KDE Applications 18.12, dated 2018-08-08 π so yes, it's a vintage icon, and we love her for it. bye pookie π¦β¨
π¦ where this page comes from
- arch rolling: ark 26.08.2-1 Β· GPL-2.0-or-later
- debian trixie: ark 4:25.04.3-1 Β· GPL-2.0-or-later
- epel 10: ark 26.08.1-1.el10_3 Β· GPL-2.0-or-later AND LGPL-3.0-only
- fedora 43: ark 25.08.2-1.fc43 Β· GPL-2.0-or-later
- fedora 43: ark 26.04.3-1.fc43 Β· GPL-2.0-or-later AND LGPL-3.0-only
- fedora 44: ark 25.12.3-1.fc44 Β· GPL-2.0-or-later AND LGPL-3.0-only
- fedora 44: ark 26.08.1-1.fc44
- fedora 44: ark 26.08.2-1.fc44 Β· GPL-2.0-or-later AND LGPL-3.0-only
- nixos 26.05: ark 26.04.3
- nixpkgs unstable: ark 26.08.2
- opensuse-leap 16.0: ark 25.04.3-bp160.1.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: ark 25.04.3-bp160.1.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: ark 25.04.3-bp160.1.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: ark 25.04.3-bp160.1.2 Β· GPL-2.0-or-later
- ubuntu questing: ark 4:25.08.1-0ubuntu1
- ubuntu resolute: ark 4:25.12.3-0ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: ark 4:26.08.1-0ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms