ark1
Kde archiving tool
Usage
ark [-b]
[-a]
[-e]
[-O]
[-c]
[-f
suffix]
[-p]
[-t
file]
[-d]
[-m]
[-o
directory]
[KDE
Frameworks
Generic
Options]
[Qt(TM)
Generic
Options]
Overview
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).
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.
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.
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.
-
-m, --mimetypes -
List supported MIME types.
-
-o, --destination directory -
Default the extraction directory to directory. If not passed, the current path is used.
Options for adding files
-
-c, --add -
Query the user for an archive filename and add specified files to it. Quit when finished.
-
-t, --add-to filename -
Add the specified files to filename. Create archive if it does not exist. Quit when finished.
-
-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.
Examples
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 it.
Maintainership
Ark is currently maintained by Elvis Angelaccio and Ragnar Thomsen.
Releases
12 releases since Debian 3.0 (Woody); the text changed 8 times.
--add since Debian 4.0 (Etch);
--add-to since Debian 4.0 (Etch);
--autodestination since Debian 6.0 (Squeeze);
--autofilename since Debian 6.0 (Squeeze);
--autosubfolder since Debian 6.0 (Squeeze);
--batch since Debian 8 (Jessie);
--changetofirstpath since Debian 6.0 (Squeeze);
--destination since Debian 6.0 (Squeeze);
--dialog since Debian 6.0 (Squeeze);
--mimetypes since Debian 11 (Bullseye);
--opendestination since Debian 9 (Stretch);
-O since Debian 9 (Stretch);
-a since Debian 6.0 (Squeeze);
-b since Debian 8 (Jessie);
-c since Debian 6.0 (Squeeze);
-d since Debian 6.0 (Squeeze);
-e since Debian 6.0 (Squeeze);
-f since Debian 6.0 (Squeeze);
-m since Debian 11 (Bullseye);
-o since Debian 6.0 (Squeeze);
-p since Debian 6.0 (Squeeze);
-t since Debian 6.0 (Squeeze).
-- until Debian 5.0 (Lenny);
--author until Debian 5.0 (Lenny);
--background until Debian 3.0 (Woody);
--bg until Debian 3.0 (Woody);
--btn until Debian 3.0 (Woody);
--button until Debian 3.0 (Woody);
--caption until Debian 3.0 (Woody);
--cmap until Debian 3.0 (Woody);
--dcopserver until Debian 3.0 (Woody);
--display until Debian 3.0 (Woody);
--dograb until Debian 3.0 (Woody);
--extract until Debian 5.0 (Lenny);
--extract-to until Debian 5.0 (Lenny);
--fg until Debian 3.0 (Woody);
--fn until Debian 3.0 (Woody);
--font until Debian 3.0 (Woody);
--foreground until Debian 3.0 (Woody);
--geometry until Debian 3.0 (Woody);
--guess-name until Debian 5.0 (Lenny);
--help until Debian 5.0 (Lenny);
--help-all until Debian 5.0 (Lenny);
--help-kde until Debian 5.0 (Lenny);
--help-kde-tempfile until Debian 5.0 (Lenny);
--help-qt until Debian 5.0 (Lenny);
--icon until Debian 3.0 (Woody);
--im until Debian 3.0 (Woody);
--inputstyle until Debian 3.0 (Woody);
--license until Debian 5.0 (Lenny);
--miniicon until Debian 3.0 (Woody);
--name until Debian 3.0 (Woody);
--ncols until Debian 3.0 (Woody);
--nocrashhandler until Debian 3.0 (Woody);
--nograb until Debian 3.0 (Woody);
--noxim until Debian 3.0 (Woody);
--session until Debian 3.0 (Woody);
--style until Debian 3.0 (Woody);
--sync until Debian 3.0 (Woody);
--title until Debian 3.0 (Woody);
--version until Debian 5.0 (Lenny);
--visual until Debian 3.0 (Woody);
--waitforwm until Debian 3.0 (Woody);
-v until Debian 5.0 (Lenny).