Mailinglist Archive: opensuse (1750 mails)

< Previous Next >
[opensuse] howto un-encode files from email text encoding??
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 01 Oct 2008 00:14:03 -0500
  • Message-id: <48E3071B.8080703@xxxxxxxxxxxxxxxxxx>
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!


--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >