OnWorks favicon

ark - Online in the Cloud

Run ark in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ark that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



ark - KDE archiving tool


ark [-b] [-a] [-e] [-O] [-c] [-f suffix] [-p] [-t file] [-d] [-o directory]
[KDE Generic Options] [Qt(TM) Generic Options]


Ark is a program for managing various compressed file formats within KDE. Archives can be
viewed, extracted, created and modified with Ark. The program can handle various formats
such as tar, gzip, bzip2, zip, rar (when the appropriate libraries or command-line
programs are installed).


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.

If invoked without the -b (--batch) or -c (--add) options, Ark is started as a normal GUI

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.

When the -c (--add) option is used, Ark prompts for files that should be added to a new
archive or to an existing archive.


-d, --dialog
Show a dialog for specifying the options for a batch or add operation.

-o, --destination directory
Default the extraction directory to directory. If not passed, the current path is

Options for adding files
-c, --add
Query the user for an archive filename and add specified files to it. Quit when

-t, --add-to filename
Add the specified files to filename. Create archive if it does not exist. Quit when

-p, --changetofirstpath
Change the current directory to the first entry and add all other entries relative to
this one.

-f, --autofilename suffix
Automatically choose a filename, with the selected suffix (for example rar, tar.gz,
zip or any other supported types).

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.

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

-O, --opendestination
Open the destination folder when the extraction is complete.


ark --batch archive.tar.bz2
Will extract archive.tar.bz2 into the current directory without showing any GUI.

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.

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


Ark is currently maintained by Raphael Kubo da Costa<rakuco@FreeBSD.org>.


Lauri Watts <lauri@kde.org>
Initial version of Ark man page in 2005.

Raphael Kubo da Costa <rakuco@FreeBSD.org>
Update of Ark man page in 2009.

Ragnar Thomsen <rthomsen6@gmail.com>
Update of Ark man page in 2015.

Use ark online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    DOSBox emulates a full x86 pc with
    sound and DOS. Its main use is to run
    old DOS games on platforms which
    don't have DOS (Windows 7, 8, 8.1
    and 10 / Linux ...
    Download DOSBox
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    Download Clover EFI bootloader
  • 5
    Sequelize is a promise-based Node.js
    ORM for Postgres, MySQL, MariaDB, SQLite
    and Microsoft SQL Server. It features
    solid transaction support, relations,
    Download Sequelize
  • 6
    Join us in Gitter!
    Enable the URPMS repository in your
    system -
    Download unitedrpms
  • 7
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • More »

Linux commands