summaryrefslogtreecommitdiff
path: root/update-mime-database.1
blob: b18eac3bc332320d041a79e38c546eaad8e1f4a9 (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
.\" Hey, Emacs!  This is an -*- nroff -*- source file.
.\"
.\" (c) 2001 Filip Van Raemdonck <mechanix@debian.org>
.\"
.\" This manpage is in the public domain.
.\"

.TH update-mime-database 1 "26 Jul 2002" "Filip Van Raemdonck" "X Desktop Group"

.SH NAME
update-mime-database \- a program to build the Shared MIME-Info database cache

.SH SYNOPSIS
.B update-mime-database \-h
|
.B \-v
| [
.B \-V
|
.B \-n
]
.I MIME-DIR

.SH DESCRIPTION
.B update-mime-database
is a program which is responsible for updating the shared mime-info cache
according to the system described in the
.UR http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec
Shared MIME-Info Database specification
.UE
from the X Desktop Group.

.SH OPTIONS
.TP
\fB\-h\fR
Print out a command summary.
.TP
\fB\-v\fR
Print out the version information.
.TP
\fB\-V\fR
Be verbose.
.TP
\fB\-n\fR
Only update if \fBMIME-DIR\fR/packages/ or a file in that directory
is newer than \fBMIME-DIR\fR/version. This is useful for package pre-
and post-installation scripts.

.SH ARGUMENTS
.TP
\fBMIME-DIR\fR
This is the directory for which
.B update-mime-database
should rebuild the cache. Mandatory if none of the options is provided.

.SH AUTHOR
Filip Van Raemdonck (mechanix@debian.org) wrote this manpage for the
Debian GNU/Linux project, but it may be used by others.

.SH LICENCE
Copyright (C) 2002 Thomas Leonard.
.br
You may redistribute copies of
.B update-mime-database
under the terms of the GNU General Public License.