WhatWasThatProgram

From MyLinuxNotes

Jump to: navigation, search

Contents

munpack

   Extracts MIME/split-uuencoded RFC-822 email attachments.  I have used it to extact base64 attachments from email 
   saved to a text file.  In DebiaN it is part of the mpack package.

metamail

   metamail -w < fileIWantDecoded.txt

fold and pr

I was trying to print a log file and the margins were to big and ran off the page. Here is how I was able to get the log printed:

   fold dmesg.txt | pr  1:1 -o 2 |lpr

This wraps the file to 80 columns adds two spaces to the begining of each line and prints the first page.

tnef

A "friend" keeps sending me attachments that come accross as WINMAIL.DAT files. To extract the contents:

   tnef -w WINMAIL.DAT

Once extracted they will be in your current directory. If you have trouble opening them try:

   file <file you want to open>

This sould give you a hint.

Personal tools