YTNEF(1) User Commands YTNEF(1) NAME ytnef - extract attachments from TNEF (winmail.dat) streams SYNOPSIS ytnef [options] file... DESCRIPTION ytnef decodes Microsoft TNEF streams, the application/ms-tnef attachments usually named winmail.dat that Outlook sends. It can list the contents of a stream and save the attachments it contains, converting contacts and calendar entries to vCard and vCalendar files. Options are read in order, so each one affects only the files named after it. A leading - enables an option and a leading + disables it. OPTIONS -v, +v Enable or disable verbose output. Repeat -v for more detail. -f dir Save attachments to dir. +f disables saving. -F, +F Enable or disable saving the message body as an RTF file. -H, +H Enable or disable saving the message body as an HTML file. -a, +a Enable or disable saving intermediate files. -s n Set the largest attachment size to accept, in megabytes. -h Show a usage summary and exit. EXAMPLES ytnef -v winmail.dat List the contents of the stream without saving anything. ytnef -f . winmail.dat Save all attachments to the current directory. ytnef -F -f . winmail.dat Also save the message text as an RTF file. SEE ALSO ytnefprint(1), ytnefprocess(1) HOMEPAGE https://github.com/Yeraze/ytnef ytnef YTNEF(1)