-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David C. Rankin wrote:
Listmates,
I have had a number of occasions where colleagues have bungled attachments to e-mail where I receive the message body and attachment all run-together in the body of the message. Often times I need to be able to un-encode and save the encoded spreadsheet, word processing document or photo back to its .doc, .xls or .jpg native file format. The encodings appear similar to:
------=_NextPart_000_0036_01C91E59.83DAB180 Content-Type: application/msword; name="PETITION - Original.doc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="PETITION - Original.doc"
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAATwAAAAAAAAAA EAAAUQAAAAEAAAD+////AAAAAE4AAAD///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// <snip> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
_OR_
PHOTO;ENCODING=b;TYPE=image/jpeg:/9j/4AAQSkZJRgABAQIAAAAAAAD/2wBDAAEBAQEBAQ EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA QH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
_OR_
------=_NextPart_000_0036_01C91E59.83DAB180 Content-Type: application/pdf; name="spider bite case.pdf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="spider bite case.pdf"
JVBERi0xLjQNCiXi48/TDQo2NyAwIG9iag0KPDwNCi9MaW5lYXJpemVkIDENCi9MIDEyNzYzMCAg ICANCi9IIFsgNjkzIDgyOCAgICAgICAgICAgICAgXQ0KL08gNjkNCi9FIDU2OTk2ICAgICANCi9O <snip> aWxlcg0KPDwNCi9TaXplIDY3DQovSUQgWzwyOGJmNGU1ZTRlNzU4YTQxNjQwMDRlNTZmZmZhMDEw OD48MjhiZjRlNWU0ZTc1OGE0MTY0MDA0ZTU2ZmZmYTAxMDg+XQ0KPj4NCnN0YXJ0eHJlZg0KMTQ2 DQolJUVPRg==
------=_NextPart_000_0036_01C91E59.83DAB180--
Years ago, there was an old uuencode/uudecode script that I recall using in DOS, but I don't have anything similar in my Linux tool box yet. I'm sure it is there, I just don't know what it is called or what it looks like. If somebody could point me in the right direction, I would appreciate it. Thanks!
Umm... IIRC uunencode/uudecode had something to do with translating binary to text between and stitching together of file transfers over email before the days FTP became generally available on DOS and bandwidth was a lot less than now. In the UK it was used to get material from the Higher Education Software Archives (HENSA) up until the mid 1990s or so. The above is something very different, it rather looks like mime multi-part stuff and normally it is the responsibility of the mail client to stitch the bits back together. So your are looking for a different utility. What you need is something that can handle multi-part mime. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkjjJX0ACgkQasN0sSnLmgIBMgCgvbYHKiII0ePLkYpGklwoiwHV 8fgAn1q4bOHKr1E7mvXASCdpQDzXc/fd =x+zM -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org