1ARK(1) KDE User's Manual ARK(1)
2
3
4
6 ark - KDE archiving tool
7
9 ark [-b] [-a] [-e] [-c] [-f suffix] [-p] [-t file] [-d] [-o directory]
10 [KDE 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 -o, --destination directory
39 Default the extraction directory to directory. If not passed, the
40 current path is used.
41
42 Options for adding files
43 -c, --add
44 Query the user for an archive filename and add specified files to
45 it. Quit when finished.
46
47 -t, --add-to filename
48 Add the specified files to filename. Create archive if it does not
49 exist. Quit when finished.
50
51 -p, --changetofirstpath
52 Change the current directory to the first entry and add all other
53 entries relative to this one.
54
55 -f, --autofilename suffix
56 Automatically choose a filename, with the selected suffix (for
57 example rar, tar.gz, zip or any other supported types).
58
59 Options for batch extraction
60 b, --batch
61 Use the batch interface instead of the usual dialog. This option is
62 implied if more than one url is specified.
63
64 -e, --autodestination
65 The destination argument will be set to the path of the first file
66 supplied.
67
68 -a, --autosubfolder
69 Archive contents will be read, and if detected to not be a single
70 folder archive, a subfolder by the name of the archive will be
71 created.
72
74 ark --batch archive.tar.bz2
75 Will extract archive.tar.bz2 into the current directory without
76 showing any GUI.
77
78 ark -b -d archive.tar.bz2 archive2.zip
79 Will first show an extraction options dialog and then extract both
80 archive.tar.bz2 and archive2.zip into the directory chosen in the
81 dialog.
82
83 ark --add-to my-archive.zip photo1.jpg text.txt
84 Will create my-archive.zip if does not exist and then add
85 photo1.jpg and text.txt to it.
86
88 Ark is currently maintained by Harald Hvaal<haraldhv@stud.ntnu.no> and
89 Raphael Kubo da Costa<kubito@gmail.com>.
90
91 This man page was first written by Lauri Watts<lauri@kde.org> in 2005
92 for KDE 3.4, and was later updated in 2009 by Raphael Kubo da
93 Costa<kubito@gmail.com>.
94
96 Lauri Watts <lauri@kde.org>
97 Author.
98
99 Raphael Kubo da Costa <kubito@gmail.com>
100 Author.
101
102
103
104K Desktop Environment 2.13 (KD 2009-09-10 ARK(1)