/usr/share/doc/libmimetic-doc/examples/README is in libmimetic-doc 0.9.8-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | QUICKSTART
-----
'make examples' will build all examples programs.
Run each of them with the -h command line parameters to get usage instruction.
exbin
-----
Extracts e-mail attachments contained into input file(s).
You can extract just one type of attachment limiting the extraction to one
Content-Type using the -t parameter.
Ex.
./exbin -t sound Mail/*
./exbin -t image/jpeg Mail/*
This will extract all binaries, lots of virus and worms will be
probably extracted so be careful!
./exbin Mail/*
structure
---------
Prints the MIME structure of email messages
b64
---
Base64 encodes and decodes input files
qp
--
Encodes and decodes in Quoted-Printable input files
catpart
-------
This is a sort of standard Unix 'cat' program applied to email messages.
It searches for MIME entities based on command line parameters and prints
contents of those that match.
NOTE THAT -r MUST BE USED TO CONSIDER CHILD ENTITIES
Ex.
prints the content of parts of MIME type image/* of email stored
in 'test.msg':
./catpart -r -t image test.msg
prints just the name of files that contain image/* entities
./catpart -r -t image -l *
prints entities whose Subject contain the word 'virus'
./catpart -r -f subject=virus *
buildidx
--------
Create an index of files or directories containing email messages for fast
searches using the 'search' program.
Es.
./buildidx ~/Mail/* > my_mail.index
search
------
Search for messages, try 'search -h' for parameters.
Use -I to use the index created with 'buildidx' to speed up lookup
mbox
----
It prints the MIME structure of each message found in a MBOX archive.
It's not very useful right now but it will be expanded :)
|