X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=mimedecode.docbook;h=0129709532dca754b56d05efe16293cca83f9af3;hp=9006bfedf8d7c9e597f735f32d813454f046b41b;hb=bbdea6e26c82a925377da981f42b27653621a5a7;hpb=920a25c967df8757fcfca21d1afc521e3f09d1a0 diff --git a/mimedecode.docbook b/mimedecode.docbook index 9006bfe..0129709 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -14,7 +14,7 @@ - 2001-2014 + 2001-2017 PhiloSoft Design. @@ -90,7 +90,7 @@ - + @@ -276,8 +276,8 @@ -p header1[,header2,header3,...]:param1[,param2,param3,...] - Add the parameters(s) to a list of headers parameters to decode; - the parameters will be decoded only for the given header(s). + Add the parameter(s) to a list of headers parameters to decode; + the parameter(s) will be decoded only for the given header(s). Initially the list contains header "Content-Type", parameter "name"; and header "Content-Disposition", parameter "filename". @@ -288,8 +288,8 @@ -p *[,-header1,-header2,-header3,...]:param1[,param2,param3,...] - Add the parameters(s) to a list of headers parameters to decode; - the parameters will be decoded for all headers except the given + Add the parameter(s) to a list of headers parameters to decode; + the parameter(s) will be decoded for all headers except the given ones. @@ -345,8 +345,8 @@ -R header1[,header2,header3,...]:param1[,param2,param3,...] - Add the parameters(s) to a list of headers parameters to remove; - the parameters will be removed only for the given header(s). + Add the parameter(s) to a list of headers parameters to remove; + the parameter(s) will be removed only for the given header(s). Initially the list is empty. @@ -422,6 +422,17 @@ + + -I mask + + + Append mask to the list of content types to completely ignore. + There will be no output - no headers, no body, no warning. For a + multipart part the entire subtree is removed. + + + + -i mask @@ -520,6 +531,12 @@ cat input_file | mimedecode.py -o output_file earlier than -B */*. + + Options -e/-I/-i can also work with multipart subparts of a MIME message. In + case of -I/-i the entire subtree of that multipart is removed; with -i it's + replaced with ignore warning. + + Initially all 5 lists are empty, so without any additional parameters the program always uses the default decoding (as -t */*). @@ -597,7 +614,7 @@ cat input_file | mimedecode.py -o output_file COPYRIGHT - Copyright (C) 2001-2014 PhiloSoft Design. + Copyright (C) 2001-2017 PhiloSoft Design.