summaryrefslogtreecommitdiffstats
path: root/doc/ark/man-ark.1.docbook
blob: e0a8a5d6365c0125a8ef4ac2ca004e6b9a6d41f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<?xml version="1.0" ?>
<!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kappname "&ark;">
<!ENTITY % English "INCLUDE">
]>

<refentry lang="&language;">
<refentryinfo>
<title>KDE User's Manual</title>
<author><personname>
<firstname>Lauri</firstname>
<surname>Watts</surname>
</personname>
&Lauri.Watts.mail;</author>
<date>February 25, 2005</date>
<productname>Trinity Desktop Environment</productname>
</refentryinfo>

<refmeta>
<refentrytitle><command>&kappname;</command></refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>

<refnamediv>
<refname><command>ark</command></refname>
<refpurpose>A &kde; archiving tool</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>ark</command>
<group>
<option>--extract</option>
<option>--extract-to</option>
<option>--add</option>
<option>--add-to</option>
<option>--guess-name</option>
</group>
<arg choice="opt">folder</arg>
<arg choice="opt">files</arg>
<arg choice="opt">archive</arg>
<arg choice="opt">KDE Generic Options</arg>
<arg choice="opt">Qt Generic Options</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1>
<title>Description</title>
<para>&kappname; is a program for managing various archive formats
within the &kde; environment. Archives can be viewed, extracted, created
and modified from within &kappname;. The program can handle various
formats such as <application>tar</application>,
<application>gzip</application>, <application>bzip2</application>,
<application>zip</application>, <application>rar</application> and
<application>lha</application> (if appropriate command-line programs are
installed). &kappname; can work closely with &konqueror; in the &kde;
environment to handle archives, if you install the &konqueror;
Integration plugin available in the tdeaddons package.</para>

</refsect1>

<refsect1>
<title>Options</title>

<variablelist>
<varlistentry>
<term><option>--extract</option></term>
<listitem>
<para>Open extract dialog, quit when finished</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--extract-to
<replaceable>folder</replaceable>
<replaceable>archive</replaceable></option></term>
<listitem><para>Extract <replaceable>archive</replaceable> to
<replaceable>folder</replaceable>.  Quit when finished. 
<replaceable>folder</replaceable> will be created if it does not
exist.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--add <replaceable>files</replaceable></option></term>
<listitem>
<para>Ask for the name of the archive to add
<replaceable>files</replaceable> to. Quit when finished.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--add-to <replaceable>files</replaceable>
<replaceable>archive</replaceable></option></term>
<listitem>
<para>Add <replaceable>files</replaceable> to
<replaceable>archive</replaceable>.  Quit when finished. 
<replaceable>archive</replaceable> will be created if it does not
exist.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--guess-name <replaceable>folder</replaceable>
<replaceable>archive</replaceable></option></term>
<listitem>
<para>Used with <option>--extract-to</option>.  When specified,
<replaceable>archive</replaceable> will be extracted to a
subfolder of <replaceable>folder</replaceable> whose name will be
the name of <replaceable>archive without the
filename extension.</replaceable></para>
</listitem>
</varlistentry>
</variablelist>

</refsect1>

<refsect1>
<title>Environment</title>
<variablelist>
<varlistentry>
<term>$<envar>PATH</envar></term>
<listitem>
<para>The commandline programs to deal with the archives you wish to
handle in &kappname; must be available in your
$<envar>PATH</envar>.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

<refsect1>
<title>Examples</title>

<variablelist>
<varlistentry>
<term><userinput><command>ark</command> <option>--extract-to
--guess-name</option> <parameter>.</parameter>
<parameter>An-Archive.tar.bz2</parameter></userinput></term>
<listitem>
<para>Will extract <filename>An-Archive.tar.bz2</filename> into a
folder named <filename class="directory">An-Archive</filename> in the
current directory.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><userinput><command>ark</command> <option>--add-to</option>
<filename>*.jpg</filename> <filename>pictures.tar.bz2</filename></userinput></term>
<listitem>
<para>Add all files ending in *.jpg to an archive named
<filename>pictures.tar.bz2</filename>, creating it if it doesn't
already exist.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

<refsect1>
<title>See Also</title>
<para>tar(1), gzip(1), bzip2(1), zip(1), rar(1), lha(1)</para>

<para>More detailed user documentation is available from <ulink
url="help:/ark">help:/ark</ulink>
(either enter this <acronym>URL</acronym> into &konqueror;, or run
<userinput><command>khelpcenter</command>
<parameter>help:/ark</parameter></userinput>).</para>

</refsect1>

<refsect1>
<title>Authors</title>
<para>&ark; is maintained by
<personname><firstname>Henrique</firstname><surname>Pinto</surname></personname> <email>stampede@coltec.ufmg.br</email></para>
<para>This man page was written by &Lauri.Watts;
&Lauri.Watts.mail; for &kde; 3.4.</para>
</refsect1>

</refentry>