Showing posts with label archive. Show all posts
Showing posts with label archive. Show all posts

Extract email attachments from winmail.dat files

tnef is a program for unpacking MIME attachments of type "application/ms-tnef". This is typically a Microsoft only attachment, named winmail.dat.
This program allows one to unpack the attachments which were encapsulated into the TNEF attachment, thus alleviating the need to use Microsoft Outlook to view the attachment.

Install instructions


sudo aptitude install tnef
or click here.

Usage


Save the winmail.dat file from the email and execute
tnef --list winmail.dat  # list containing files
tnef winmail.dat # unpack containing attachments

File-Roller: Support of non-default archive types

File-roller is a graphical archive manager and ships with the default Ubuntu installation.

File-roller doesn't perform archive operations by itself, but relies on standard tools for this.
Unfortunately, by default it supports only a few formats, like .tar, gzip, bzip2 etc. Other less common formats you can find on the web, like 7z, ace, lzh, just to mention some, aren't supported by your default Ubuntu installation.

You could wait, each time you find an unsupported format, to search and find the corresponding package you need and install it, or ...

From Synaptic


Open the synaptic package manager, search for file-roller, right click the package, Mark Suggested for Installation, and select the ones you need (or want).

Install instructions from terminal


sudo aptitude install arj binutils cpio lha lzop ncompress p7zip-full rpm rzip sharutils unace unalz unrar zoo