Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pbespechnyi/4287086 to your computer and use it in GitHub Desktop.
Save pbespechnyi/4287086 to your computer and use it in GitHub Desktop.
# Install tnef utility
sudo apt-get install tnef
# Create a script
vi tnef.sh
# Paste
#!/bin/bash
SAVE_PATH=~/Desktop/winmail.dat
mkdir $SAVE_PATH
tnef -C $SAVE_PATH < $1
# Open attachment with your new script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment