.TH YTNEF 1 "" "ytnef" "User Commands" .SH NAME ytnef \- extract attachments from TNEF (winmail.dat) streams .SH SYNOPSIS .B ytnef .RI [ options ] " file" ... .SH DESCRIPTION .B ytnef decodes Microsoft TNEF streams, the .I application/ms-tnef attachments usually named .I 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. .PP Options are read in order, so each one affects only the files named after it. A leading .B \- enables an option and a leading .B + disables it. .SH OPTIONS .TP .BR \-v ", " +v Enable or disable verbose output. Repeat .B \-v for more detail. .TP .BI \-f " dir" Save attachments to .IR dir . .B +f disables saving. .TP .BR \-F ", " +F Enable or disable saving the message body as an RTF file. .TP .BR \-H ", " +H Enable or disable saving the message body as an HTML file. .TP .BR \-a ", " +a Enable or disable saving intermediate files. .TP .BI \-s " n" Set the largest attachment size to accept, in megabytes. .TP .B \-h Show a usage summary and exit. .SH EXAMPLES .TP .B ytnef \-v winmail.dat List the contents of the stream without saving anything. .TP .B ytnef \-f . winmail.dat Save all attachments to the current directory. .TP .B ytnef \-F \-f . winmail.dat Also save the message text as an RTF file. .SH SEE ALSO .BR ytnefprint (1), .BR ytnefprocess (1) .SH HOMEPAGE https://github.com/Yeraze/ytnef