MIMEPIPE is a modular and extensible alternative to lesspipe.
MIMEPIPE outputs textual representation of files according to their MIME types. The program passes the file through the filter program corresponding to the file’s MIME type. If the program cannot find the filter that exactly matches the type of a file, it attempts to select the most specific one matching the supertype or generic MIME type.
- Easily extensible due to modular structure
- Support for files contained in archives and software packages
- Support for files of generic MIME types like
image/*
,audio/*
,video/*
- User-defined filter programs
MIME type | Dependencies |
---|---|
application/epub+zip |
ebook-meta, ebook-convert (calibre), w3m (w3m), fold (coreutils) |
application/gzip |
zcat (gzip) |
application/msword |
unoconv (unoconv), w3m (w3m) |
application/octet-stream |
cat (coreutils) |
application/pdf |
pdftotext (poppler-tools) |
application/postscript |
ps2ascii (ghostscript) |
application/rtf |
unoconv (unoconv), w3m (w3m) |
application/vnd.ms-cab-compressed |
cabextract (cabextract) |
application/vnd.debian.binary-package |
dpkg-deb (dpkg), tar (tar) |
application/vnd.oasis.opendocument.text |
unoconv (unoconv), w3m (w3m) |
application/vnd.oasis.opendocument.spreadsheet |
unoconv (unoconv) |
application/vnd.ms-excel |
unoconv (unoconv) |
application/vnd.sun.xml.writer |
unoconv (unoconv), w3m (w3m) |
application/x-7z-compressed |
7z (p7zip) |
application/x-archive |
ar (binutils) |
application/x-arj |
arj (arj) |
application/x-bzip |
bzcat (bzip2) |
application/x-bzip-compressed-tar |
tar (tar), bzip2 (bzip2) |
application/x-cd-image |
isoinfo (mkisofs) |
application/x-compress |
uncompress (gzip) |
application/x-compressed-tar |
tar (tar), gzip (gzip) |
application/x-cpio |
cpio (cpio) |
application/x-dbf |
unoconv (unoconv) |
application/x-fictionbook+xml |
ebook-meta, ebook-convert (calibre) w3m (w3m), fold (coreutils) |
application/x-font-type1 |
fc-query (fontconfig) |
application/x-java |
javap (java-openjdk-devel) |
application/x-java-archive |
jar (java-openjdk-devel) |
application/x-lz4 |
lz4cat (lz4) |
application/x-lzma-compressed-tar |
tar (tar), lzma (xz) |
application/x-lzip |
lzcat (lzip) |
application/x-lzip-compressed-tar |
tar (tar), lzip (lzip) |
application/x-matroska |
mediainfo (mediainfo) |
application/x-mobipocket-ebook |
ebook-meta, ebook-convert (calibre) w3m (w3m), fold (coreutils) |
application/x-ms-dos-executable |
strings (binutils) |
application/x-msdownload |
strings (binutils) |
application/x-msi |
msiinfo (msitools) |
application/x-object |
nm (binutils) |
application/x-rar |
unrar (unrar) |
application/x-rpm |
rpm, rpm2cpio (rpm), cpio (cpio) |
application/x-sharedlib |
nm (binutils) |
application/x-tar |
tar (tar) |
application/x-xz-compressed-tar |
tar (tar), xz (xz) |
application/xhtml+xml |
w3m (w3m) |
application/zip |
unzip (unzip) |
application/zstd |
zstdcat (zstd) |
audio/* |
mediainfo (mediainfo) |
font/ttf |
fc-query (fontconfig) |
image/* |
identify (ImageMagick) |
image/vnd.djvu+multipage |
djvutxt (djvulibre) |
inode/directory |
ls (coreutils) |
inode/symlink |
readlink (coreutils) |
text/csv |
unoconv (unoconv) |
text/html |
w3m (w3m) |
text/markdown |
pandoc (pandoc) |
text/plain |
|
text/troff |
groff (groff) |
text/x-uuencode |
uudecode (sharutils) |
video/* |
mediainfo (mediainfo) |