1ARK(1) Ark User's Manual ARK(1)
2
3
4
6 ark - KDE archiving tool
7
9 ark [-b] [-a] [-e] [-O] [-c] [-f suffix] [-p] [-t file] [-d] [-m] [-o
10 directory] [KF5 Generic Options] [Qt(TM) Generic Options]
11
13 Ark is a program for managing various compressed file formats within
14 KDE. Archives can be viewed, extracted, created and modified with Ark.
15 The program can handle various formats such as tar, gzip, bzip2, zip,
16 rar (when the appropriate libraries or command-line programs are
17 installed).
18
20 Ark can be used either as a stand-alone GUI program as well as a
21 command-line program in order to perform some specific tasks.
22
23 If invoked without the -b (--batch) or -c (--add) options, Ark is
24 started as a normal GUI program.
25
26 When the -b (--batch) option is used, Ark can be used to extract the
27 contents of one or more files directly from the command-line, without
28 launching its GUI.
29
30 When the -c (--add) option is used, Ark prompts for files that should
31 be added to a new archive or to an existing archive.
32
34 -d, --dialog
35 Show a dialog for specifying the options for a batch or add
36 operation.
37
38 -m, --mimetypes
39 List supported MIME types.
40
41 -o, --destination directory
42 Default the extraction directory to directory. If not passed, the
43 current path is used.
44
45 Options for adding files
46 -c, --add
47 Query the user for an archive filename and add specified files to
48 it. Quit when finished.
49
50 -t, --add-to filename
51 Add the specified files to filename. Create archive if it does not
52 exist. Quit when finished.
53
54 -p, --changetofirstpath
55 Change the current directory to the first entry and add all other
56 entries relative to this one.
57
58 -f, --autofilename suffix
59 Automatically choose a filename, with the selected suffix (for
60 example rar, tar.gz, zip or any other supported types).
61
62 Options for batch extraction
63 -b, --batch
64 Use the batch interface instead of the usual dialog. This option is
65 implied if more than one url is specified.
66
67 -e, --autodestination
68 The destination argument will be set to the path of the first file
69 supplied.
70
71 -a, --autosubfolder
72 Archive contents will be read, and if detected to not be a single
73 folder archive, a subfolder by the name of the archive will be
74 created.
75
76 -O, --opendestination
77 Open the destination folder when the extraction is complete.
78
80 More detailed user documentation is available from help:/ark
81 (either enter this URL into Konqueror, or run khelpcenter
82 help:/ark).
83 kf5options(7)
84 qt5options(7)
85
87 ark --batch archive.tar.bz2
88 Will extract archive.tar.bz2 into the current directory without
89 showing any GUI.
90
91 ark -b -d archive.tar.bz2 archive2.zip
92 Will first show an extraction options dialog and then extract both
93 archive.tar.bz2 and archive2.zip into the directory chosen in the
94 dialog.
95
96 ark --add-to my-archive.zip photo1.jpg text.txt
97 Will create my-archive.zip if does not exist and then add
98 photo1.jpg and text.txt to it.
99
101 Ark is currently maintained by Elvis Angelaccio and Ragnar Thomsen.
102
104 Lauri Watts <lauri@kde.org>
105 Initial version of Ark man page in 2005.
106
107 Raphael Kubo da Costa <rakuco@FreeBSD.org>
108 Update of Ark man page in 2009.
109
110 Ragnar Thomsen <rthomsen6@gmail.com>
111 Update of Ark man page in 2015 and 2016.
112
113
114
115KDE Applications 18.12 2018-08-08 ARK(1)