memoize-clean(1)

πŸ“¦
version 73025 Β· 2 versions
  • 73025 Β· arch rolling, debian trixie, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2023.20240207 Β· ubuntu noble
, in arch rolling, debian trixie, fedora 44, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ memoize-clean(1) ✨

πŸ’– NAME

okay so this page is about memoize-clean.pl and memoize-clean.py 🧚 They're both here to remove (stale) memo and extern files for you. bestie, that's literally it πŸ’…

πŸ“œ SYNOPSIS

memoize-clean.pl [OPTIONS] [document1.mmz ...]

memoize-clean.py [OPTIONS] [document1.mmz ...]

πŸŽ€ DESCRIPTION

okay so memoize-clean is a script that comes with Memoize, a TeX package πŸ¦‹ Memoize lets you reuse the results of compilation-intensive code, like TikZ pictures, so your docs don't have to rebuild them every single time. iconic behavior, honestly πŸ‘‘

by default, this script goes hunting for stale memo and extern files πŸ” A stale one is an extern made during a compilation of an older version of your document that nothing used or produced during the last compile. no cap, stale files usually show up when you change the memoized code (or the stuff around it) 😭

memoize-clean.pl removes every memo and extern file with a prefix listed in your .mmz files, plus any prefixes you pass with --prefix that aren't explicitly mentioned in the .mmz files. main character cleanup energy ✨

⚠️ bestie, the script lists every file it's about to delete and asks you to confirm before it deletes anything. so you get a vibe check first 🫢

🌸 OPTIONS

  • -p, --prefix β€” add a memo/extern prefix to clean up πŸ“ you can give this one more than once if you're feeling extra.
  • -a, --all β€” nuke all memos and externs instead of just the stale ones πŸ’€ very dramatic, use with intention.
  • -y, --yes β€” skip the confirmation question and just go for it πŸ”₯
  • -q, --quiet β€” don't narrate what's happening πŸ™ˆ silent queen mode.
  • -h, --help β€” show help πŸ’œ
  • -V, --version β€” show the Memoize version number and then exit 🌈

πŸ¦‹ SEE ALSO

the Memoize manual, section 6.6.3 πŸ“– go read it, it's giving full context ✨


memoize-clean of Memoize v1... dropped December 02, 2024 πŸ’– stay iconic, bestie 🫢πŸ’