[prev in list] [next in list] [prev in thread] [next in thread]
List: sylpheed
Subject: [sylpheed:22802] Re: problems extracting plain text
From: Melvin Hadasht <melvin.hadasht () free ! fr>
Date: 2004-04-30 9:32:33
Message-ID: etPan.40921d31.3006c83e.3ba () freefluid
[Download RAW message or body]
> What I really want to do is to capture *all* parts of the email into a flat
> file: body as well as attachments.
>
> Is there a sylpheed action+uudeview incantation which will do this?
Uudeview does not recognize that your attached example has a message in it.
Metamail handles it correctly.
What you want is to decode all message parts and then concanate them in a single file. Maybe creating a \
script or a long shell command can help : create a temp dir, ask metamail to decode all message parts \
there and then cat'ing the saved parts (ls -r | xargs cat > file)
export METAMAIL_TMPDIR=`mktemp -d patches.XXXXXX `;metamail -d -w -q -B %f && find $METAMAIL_TMPDIR -type \
f ! -name 'mm*' |xargs cat > %u && rm -rf $METAMAIL_TMPDIR
(you will be asked for a destination file name (the %u token). You can use the tilde or $HOME)
In fact, maybe I'll implement a %P token that represents the list of all message parts ('mv %P %u' will \
save all message parts in a given directory, and "cat %P > %u" will cat all message parts into a given \
file...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic