Project Info Ideas

mimeo

open files using mimetype associations

Package Information

Latest version:2010.03.03.2
Source files:mimeo-2010.03.03.2.tar.gz
Binary package:mimeo-2010.03.03.2-1-any.pkg.tar.gz [xyne-any]
Repos:[xyne-any]
PKGBUILD etc:http://xyne.archlinux.ca/pkgbuilds/mimeo
TAURball:mimeo.tar.gz
AUR page:http://aur.archlinux.org/packages.php?ID=32911
Arch forum thread:http://bbs.archlinux.org/viewtopic.php?id=86855

About

Mimeo uses MIMEtype file associations to select an application for opening a file. It can also print out the MIMEtype strings and application commands for files. It is also possible to use a file to associate commands with regular expressions that are matched against the arguments. This can be used to open URLs in browsers or associate file extensions with commands irrespective of their MIMEtype.

Editing MIMEtypes

Mimeo is complementary to Mimeman, which can be used to create and remove MIMEtype associations. As Mimeman was written to be compatible with PCManFM, it can also be used to manage MIMEtype associations.

Association File Example

These are just a few quick examples of how to create associations using the associations file. See "mimeo --assoc-help" for more information.

Open URLs with Firefox:

/usr/bin/firefox
  ^http://

Open the following files with medit by extension: Perl (.pl), Python (.py), Haskell (.hs)

/usr/bin/medit
  \.p[ly]%
  \.hs%
Valid XHTML 1.0 Strict
Unicode Encoded Badge