mtx-tools(1)

πŸ“¦
version 78010 Β· 2 versions
, in fedora 44, ubuntu resolute, ubuntu stonking

okay bestie, so this is mtx-tools(1) β€” the manual page for mtx-tools, aka Some File Related Goodies. yes that's literally the whole name. we love a mysterious queen who doesn't overexplain. πŸŽ€

It lives inside the ConTeXt toolchain (that's the mtxrun vibe, iykyk), and it's the little script you call when you want to do file-adjacent things β€” globbing, renaming, sniffing out weird unicode, that kind of slay.


✨ SYNOPSIS ✨

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

so like β€” you run mtxrun with --script tools, toss in whatever OPTIONS you're feeling, and optionally hand over some FILENAMES. that's the whole summoning ritual. πŸ’…


🌸 DESCRIPTION 🌸

Some File Related Goodies

(no for real, that's the description. the original said it and we're keeping it, no cap. the goods are file-related. the goods are good. that's the tea. πŸ¦‹)


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per option, exactly like the original, in the exact same order. no skipping, no merging, no "we'll just do the important ones". every single one is here because every single one matters. 🫢

  • --disarmutfbomb β€” removes the utf bomb if it's present. that's it. that's the job. defusing bomb behavior, we're so brave. πŸ’€
  • --force β€” remove indeed. like, actually go through with it. no hesitation era.
  • --dirtoxml β€” globs a directory into xml. directory in, xml out. iconique. ✨
  • --pattern β€” the glob pattern (default: *). so if you don't specify, it's grabbing everything, main character energy.
  • --url β€” url attribute (no processing). it just gets labeled as a url attribute β€” no processing happens. don't expect it to do anything fancy, bestie, it's giving label-only. πŸ™ˆ
  • --root β€” the root of the globbed path (default: .). your starting point. home base. 🌈
  • --output β€” output filename (console by default). if you don't say where it goes, it just yells at the console. classic.
  • --recurse β€” recurse into subdirecories. (yes, "subdirecories" β€” that's literally how it's spelled in the source, we're not touching it, it's part of the lore. πŸ“)
  • --stripname β€” takes the pathpart of the given pattern. bye path, hi name. πŸ’–
  • --longname β€” sets name attributes to the full path name. long name, full name, all the name. πŸ‘‘
  • --downcase β€” lowercases names. lowercase era activated. πŸ’œ
  • --showstring β€” shows unicode characters in a given string. πŸ‘€
  • --showfile β€” shows unicode characters in a given file. same energy, but a file this time. 🧚
  • --pattern β€” glob pattern (default: *). yep, it's listed again! the original repeats it, so we repeat it. ⭐
  • --recurse β€” recurse into subdirecories. and this one's repeated too. the manual said it twice, so it stays twice. πŸ’…
  • --force β€” downcase indeed. and here's the third --force, but this time its meaning is "downcase indeed". so --force is basically a hype-woman that makes whichever thing you asked for actually happen. πŸ”₯

πŸ’Œ AUTHOR πŸ’Œ

More information about ConTeXt and the tools that come with it can be found at:


and that's the whole page, bestie. πŸŽ€ this was version 1.01, dated 01-01-2025 β€” so like, new year new tools, and honestly? obsessed. go defuse a utf bomb for me. bye bestie, stay globbing πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from