Back in July I blogged about Opening winmail.dat (TNEF) files in Thunderbird (on Ubuntu). Well a colleague at work has 'refined' my script so that rather than it create a folder on your desktop it simply opens Nautilus to display the contents of the attachment.
This is the new version of the script:
#!/bin/bashThe interesting part of this script for me is the
/usr/bin/tnef -C $LOCATION --save-body -f $1
$$- this special script variable is the process ID (PID) of the currently running script, so it makes a temporary file called
winmail_<current process id>.dat. Other than that it's pretty similar to my original script apart from opening Nautilus at the end.
Now it's even easier to open and extract files from winmail.dat files!
I found out the reason for the
Technorati Tags: winmail.dat, TNEF, Thunderbird, Ubuntu, Andrew Beacock