X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=98a0dd416a9a7f5ffd868360b10df37957973fb4;hb=bf91cdc033c3740e644c79b057e8557122e5f074;hp=cc8ee2b7a8e5e4609b35acf64f6ae01aecf38d66;hpb=dafc33620aac47c26b3997a10aa4bcf72059373a;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index cc8ee2b..98a0dd4 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -38,6 +38,9 @@ + + + input_file output_file @@ -237,10 +240,21 @@ flushed to stdout. + + + -o output_file + + + Useful to set the output file in case of redirected stdin: + mimedecode.py -o output_file < input_file +cat input_file | mimedecode.py -o output_file + + + - The last 4 options (-beit) require more explanation. They allow a user + The 4 list options (-beit) require more explanation. They allow a user to control body decoding with great flexibility. Think about said mail archive; for example, its maintainer wants to put there only texts, convert Postscript/PDF to text, pass HTML and images as is, and ignore everything @@ -248,7 +262,7 @@ else. Easy: - + mimedecode.py -t application/postscript -t application/pdf -b text/html -b 'image/*' -i '*/*'