1MIMEOPEN(1)           User Contributed Perl Documentation          MIMEOPEN(1)
2
3
4

NAME

6       mimeopen - Open files by mimetype
7

SYNOPSIS

9       mimeopen [options] [-] files
10

DESCRIPTION

12       This script tries to determine the mimetype of a file and open it with
13       the default desktop application. If no default application is
14       configured the user is prompted with an "open with" menu in the
15       terminal.
16
17       To use this script you need the freedestop mime-info database and the
18       freedesktop desktop-file-utils package. See
19       File::MimeInfo::Applications(3) for more details.
20

OPTIONS

22       -a, --ask
23           Do not execute the default application but ask which application to
24           run.  This does not change the default application.
25
26       -d, --ask-default
27           Let the user choose a new default program for given files.
28
29       -n, --no-ask
30           Don't ask the user which program to use. Choose the default program
31           or the first program known to handle the file mimetype. This does
32           not set the default application.
33
34       -L, --dereference
35           Follow symbolic links.
36
37       -M, --magic-only
38           Do not check for extensions, globs or inode type, only look at the
39           content of the file. This is particularly useful if for some reason
40           you don't trust the name or the extension a file has.
41
42       --database=mimedir:mimedir:...
43           Force the program to look in these directories for the shared mime-
44           info database. The directories specified by the basedir
45           specification are ignored.
46
47       -D, --debug
48           Print debug information about how the mimetype was determined.
49
50       -h, --help
51       -u, --usage
52           Print a help message and exits.
53
54       -v, --version
55           Print the version of the program and exit.
56

BUGS

58       No known bugs, please mail the author if you find one.
59
60       See File::MimeInfo::Applications(3) and File::DesktopEntry(3) for some
61       limitations.
62

AUTHOR

64       Jaap Karssenberg <pardus@cpan.org>
65
67       Copyright (c) 2002 Jaap G Karssenberg. All rights reserved.  This
68       program is free software; you can redistribute it and/or modify it
69       under the same terms as Perl.
70
71       This program is distributed in the hope that it will be useful, but
72       WITHOUT ANY WARRANTY; without even the implied warranty of
73       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
74

SEE ALSO

76       mimetype(1), update-mime-database(1), update-desktop-database(1),
77       File::MimeInfo(3), File::MimeInfo::Applications(3)
78
79
80
81perl v5.12.0                      2010-05-01                       MIMEOPEN(1)
Impressum