X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=mimedecode.docbook;h=98a0dd416a9a7f5ffd868360b10df37957973fb4;hb=bf91cdc033c3740e644c79b057e8557122e5f074;hp=2b51ec02984f10de7c088f729a3f146f48398160;hpb=2dc3c38ce9f828003405e5f9f76f9fce96d1b0ca;p=mimedecode.git
diff --git a/mimedecode.docbook b/mimedecode.docbook
index 2b51ec0..98a0dd4 100644
--- a/mimedecode.docbook
+++ b/mimedecode.docbook
@@ -38,7 +38,12 @@
- filename
+
+
+
+ input_file
+ output_file
+
@@ -235,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
@@ -246,7 +262,7 @@ else. Easy:
-
+
mimedecode.py -t application/postscript -t application/pdf -b text/html
-b 'image/*' -i '*/*'