From a730919b4330d43f0b66c5b25f6e9086c2fe5d5e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 4 Oct 2025 14:10:31 -0700 Subject: [PATCH] Purge existing PDFs first so that old names get removed. --- tasks/general/acct_mgmt/users.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 3b34fda..1a60e95 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -849,6 +849,7 @@ function_ebook_convert: | # Regenerate all eBook projects at once. function ebook-convert { + find ~/Code/ebook-* -name "*.pdf" -print -delete find ~/Code/ebook-* -name convert.sh -print -exec bash "{}" \; } alias ebooks="ebook-convert"