[olug] How to MIME encode

Bob McCoy bob at mccoy.net
Sun Oct 26 02:08:18 UTC 2003


Does anyone know how to MIME encode a binary file for emailing?  In the
past I've used uuencoding and that worked fine.  However, I'm now
mailing this file to another service that only seems to understand MIME
encoding.  Here is the original code snippet:

    tar czf - `cat $FILELIST` | uuencode bccfiles.tar.z | mail -s "BCC
Files" $ADMIN

What command would I need to use to MIME encode the data instead of
uuencode?

Bob



More information about the OLUG mailing list