FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-11-2012, 08:37 AM
Thufir
 
Default in-line attachments

Every once in a while I get attachments which show as:

------------=_1336506446-4987-16
Content-Type: audio/mp3; name="voice_message_2012-5-8_15-47-26.mp3"
Content-Disposition: attachment;
filename="voice_message_2012-5-8_15-47-26.mp3"
Content-Transfer-Encoding: base64

/+MYxAAAAANIAAAAAAgwwIBQN/sCB/m////+T///73U////9tG////FG87sf
/////8UExd7uIf/////igEY7iDCgmdUQDJbK/+MYxDsAAANIAAAAAOZOsbDM

...

AAAAAKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqq
qqqqqqqqqqqqqqqqqqqqqqqq

------------=_1336506446-4987-16--


and I was just wondering how to copy/paste or turn that into, in this
case, an mp3.



thanks,

Thufir


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-11-2012, 09:51 AM
"Alexander Skwar (ML)"
 
Default in-line attachments

Thufir,

Am 05/11/12 10:37, schrieb Thufir:

Every once in a while I get attachments which show as:

------------=_1336506446-4987-16
Content-Type: audio/mp3; name="voice_message_2012-5-8_15-47-26.mp3"
Content-Disposition: attachment;
filename="voice_message_2012-5-8_15-47-26.mp3"
Content-Transfer-Encoding: base64

/+MYxAAAAANIAAAAAAgwwIBQN/sCB/m////+T///73U////9tG////FG87sf
/////8UExd7uIf/////igEY7iDCgmdUQDJbK/+MYxDsAAANIAAAAAOZOsbDM

...

AAAAAKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq qqqqqqqqqq
qqqqqqqqqqqqqqqqqqqqqqqq

------------=_1336506446-4987-16--


and I was just wondering how to copy/paste or turn that into, in this
case, an mp3.


That "ascii garbage" is base64 encoded content. You'll want
to decode that.


Copy all of that "garbage" (in your case, starting from the line with
"/+MYx"… up to all of those "qqq") into a text file named, in this case,
voice_message_2012-5-8_15-47-26.mp3.b64.

Then, in a terminal, run:

$ base64 -d voice_message_2012-5-8_15-47-26.mp3.b64 >
voice_message_2012-5-8_15-47-26.mp3


voice_message_2012-5-8_15-47-26.mp3 will then be your MP3 file.

PS: What does this have to do with Ubuntu?

Alexander
--
☄ Google+ ↣ http://plus.skwar.me ☄
☛ Lifestream (Twitter, …) ↣ http://sup.skwar.me ☛
⚰ Twitter: @alexs77 ↣ http://twitter.com/alexs77 ⚰
☞ Chat (Jabber/Google Talk) ↣ a.skwar@gmail.com ☞

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-11-2012, 01:08 PM
Thufir
 
Default in-line attachments

On Fri, 11 May 2012 11:51:53 +0200, Alexander Skwar (ML) wrote:
[..]
> PS: What does this have to do with Ubuntu?

Err, I use Ubuntu and it shows up on my Ubuntu box? Total stretch..

No, the reason I asked here is the high degree of knowledge available and
helpfulness. It's not *that* off topic is?


-Thufir


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-12-2012, 09:25 AM
Alexander Skwar
 
Default in-line attachments

Hi




Am 11.05.2012 15:12 schrieb "Thufir" <hawat.thufir@gmail.com>:

>

> On Fri, 11 May 2012 11:51:53 +0200, Alexander Skwar (ML) wrote:

> [..]

> > PS: What does this have to do with Ubuntu?

>

> Err, I use Ubuntu and it shows up on my Ubuntu box? Total stretch..


And it behaves differtly on, let's say, Windows?


No?


So, in how far is the question related or special to Ubuntu?


> No, the reason I asked here is the high degree of knowledge available and

> helpfulness. *It's not *that* off topic is?


Yes, there is good knowledge here. But your question is very much off topic. Nonetheless, I provided a, as I hope, helpful answer. Btw : did it work?



Gru,

Alexander

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 09:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org