mtx-tools(1)

πŸ“¦ version 2026.0, in alpine 3.24

okay bestie, so this is mtx-tools(1) β€” it lives in the Some File Related Goodies corner of the manual-verse, and it's genuinely just a lil grab-bag of file-flavoured party tricks πŸ’… no cap, the entire description is literally "Some File Related Goodies" and honestly? iconic. it knows what it is.


✨ SYNOPSIS ✨

mtxrun --script tools [ OPTIONS ...  ] [ FILENAMES ]

so you call it through mtxrun --script tools, you can throw a pile of OPTIONS at it, and you can hand it FILENAMES. that's the whole vibe 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

Some File Related Goodies.

(no fr, that is the entire official description and I respect the confidence πŸŽ€)


πŸ‘‘ OPTIONS πŸ‘‘

  • --disarmutfbom β€” takes the utf bom and disarms it, if there even is one present. bye bom πŸ‘‹
  • --force β€” removes indeed. like, actually does the removal, no half-measures.
  • --dirtoxml β€” globs a whole directory into xml. directory in, xml out, slay ✨
  • --pattern β€” the glob pattern to match on. default is * (yes, literally everything).
  • --url β€” sets a url attribute. no processing, it just gets plopped in there as-is πŸͺ„
  • --root β€” the root of the globbed path. default is . (the current directory, main character of your filesystem).
  • --output β€” the output filename. by default it goes to the console, so nothing gets written unless you tell it to.
  • --recurse β€” recurses into subdirectories. deep dive energy πŸŒ€
  • --stripname β€” takes the pathpart of the given pattern. strips it right off.
  • --longname β€” sets name attributes to the full path name. long name, long hello πŸ’–
  • --downcase β€” lowercases names. no more SHOUTING.
  • --showstring β€” shows the unicode characters in the given string πŸ”
  • --showfile β€” shows the unicode characters in the given file πŸ“
  • --pattern β€” glob pattern again, bestie. default: *. yeah, it's listed twice in the original and I'm keeping both because I do not gatekeep and I do not edit the source. iykyk 🧚
  • --recurse β€” recurse into subdirectories, again. yes. twice. it loves recursing so much it recursed its own option list πŸ’€
  • --force β€” downcases indeed. this is the second --force and it means something different from the first one (that one was about removing). same flag, different mood, choose your context wisely 🌈
fr fr though β€” --pattern, --recurse and --force each show up twice on this page with different descriptions. that's just how the page is. don't @ me, @ the original πŸ™ˆ

πŸ’œ AUTHOR πŸ’œ

want more lore about ConTeXt and the tools that come bundled with it? the receipts are all here:

maillist: ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

webpage: http://www.pragma-ade.nl / http://tex.aanhet.net

wiki: http://contextgarden.net

okay that's the whole thing, go forth and glob πŸ¦‹βœ¨

version 1.01 Β· 01-01-2026 Β· and yes, it really does sign itself mtx-tools(1) β€” cute lil self-reference, we love a consistent footer πŸ’–πŸŽ€

πŸ“¦ where this page comes from