[clug] Ever received a .dat file from an <other OS> user?
Neill Cox
neill.cox at ingenious.com.au
Fri Jan 15 01:08:03 MST 2010
Well, *I* didn't know that - thank you!
Cheers,
Neill
On Fri, Jan 15, 2010 at 4:47 PM, Andrew Janke <a.janke at gmail.com> wrote:
> Or worse multiple .dat files split across a few messages?
>
> And then went digging all over the web trying to find something that
> will decode something looking like this:
>
> ---
> MIME-Version: 1.0
> Content-Type: multipart/mixed;
> boundary="DC_BOUND_PRE_<1263538550.000074e0ca36>"
>
> This is a multi-part message in MIME format.
> --DC_BOUND_PRE_<12635380.0074e0ca36>
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
> Scan Date: 15.01.2010 14:55:50 (+0800)
> --DC_BOUND_PRE_<1263538550.000074e0ca36>
> Content-Type: application/pdf; name="20100115145550430.pdf"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
> filename="20100115145550430.pdf"
>
> JVBERi0xLjQKJRamipIKNCAwIG9iago8PC9UeXBlL1hPYmplY3QKL1N1YnR5cGUvSW1hZ2UK
> L1dpZHRoIDI0ODAKL0hlaWdodCAzNTA4Ci9CaXRzUGVyQ29tcG9uZW50IDEKL0NvbG9yU3Bh
> ---
>
> Well I just did (and have had this issue in the past but never found a
> solution as base64 and uudecode don't do what you'd think) then I
> found mpack/munpack..
>
> $ sudo apt-get install mpack
>
> $ cat part\ ?_?.dat | munpack
> munpack: reading from standard input
> 20100115145550430.pdf (application/pdf)
>
> Ahhh..
>
>
> (Brought to you by the "things I didn't know but I'm sure others all
> know this already" series of emails as I don't have a linux blog.)
>
>
> --
> Andrew Janke
> (a.janke at gmail.com || http://a.janke.googlepages.com/)
> Canberra->Australia +61 (402) 700 883
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>
More information about the linux
mailing list