YTNEF(1)

πŸ“¦
version 2.1.2 Β· 5 versions
, in ubuntu noble, ubuntu questing

πŸ’– 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 Β© 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