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