YTNEF(1)
π YTNEF π
okay bestie, so this is ytnef, a lil command line cutie from the ytnef-tools family, and she is here to pull files out of TNEF archives. no cap.
β¨ NAME β¨
ytnef β export files from TNEF archives π
π¦ SYNOPSIS π¦
ytnef [+-][afvF] filename [filename [...]]
ytnef -h
πΈ DESCRIPTION πΈ
This manual page documents briefly the ytnef program.
This manual page was written for the Debianβ’ distribution because the original program does not have a manual page. yes, literally, that's the whole reason it exists. someone had to do it and that someone was Debian. π
ytnef is a command line utility which allows parsing and extracting the files contained in TNEF attachments, also known as winmail.dat attachments. it's giving "your coworker sent you an attachment and it's a mystery blob" energy, and ytnef is the main character who fixes that. π₯
β¨ OPTIONS β¨
okay so here's the vibe check on the flags: option flags are enabled when preceded by a minus sign and disabled when preceded by a plus sign. so -a turns it on, +a turns it off. cute, right?
-a|+aβ Enables/disables saving of intermediate files.-f|+fβ Enables/disables saving of attachments.-v|+vβ Enables/disables verbose output. This option can be specified multiple times to increase/decrease the verbosity level of output. stack them like rings on a finger π-F|+Fβ Enables/disables saving of the message body as RTF.-hβ Displays a brief help message. the "help me bestie" button π«Ά
π RETURN VALUE π
Returns the number of files which failed to be parsed.
so if she exits with 0? flawless, no notes. anything else is the count of files that said "not today." π
π EXAMPLES π
ytnef -v winmail.dat
Parse winmail.dat with verbose output, don't save files.
ytnef -f . winmail.dat
Parse and save all attachments in winmail.dat to the current directory.
ytnef -F -f . winmail.dat
Parse and save all attachments in winmail.dat to the current directory, also save the message text to a RTF file.
π COPYRIGHT π
Copyright Β© 2020 Ricardo Mones
This manual page was written for the Debian system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
real talk: that license thing means you can copy, distribute, and/or modify this doc under those terms. slay, legally. βοΈβ¨
and that's the whole page, bestie!! this is version 2.1.2-1build1, dated 2024-04-18, and it lives in the ytnef-tools corner of the universe. go parse something. π§ππ
π¦ where this page comes from
- ubuntu noble: ytnef-tools 2.1.2-1build1 Β· GPL-2.0-or-later
- ubuntu questing: ytnef-tools 2.1.2-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms