From c0ba27e7820a925f5a52bd875704299e2e4cdeaa Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 4 Oct 2025 06:55:42 -0700 Subject: [PATCH] Add command to regenerate all ebooks. --- tasks/general/acct_mgmt/users.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index c791eef..4e4e297 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -846,6 +846,12 @@ unset OLD NEW } alias upgrade-debian="debian-upgrade" + function_ebook_convert: | + function ebook-convert { + find ~/Code/ebook-* -name convert.sh -print -exec bash "{}" \; + } + alias ebooks="ebook-convert" + alias convert="ebook-convert" - name: General | Account Management | Users | Files | Common Variable set_fact: @@ -917,6 +923,7 @@ {{ function_now }} {{ function_backup }} {{ function_debian_upgrade }} + {{ function_ebook_convert }} - name: General | Account Management | Users | Files | .bashrc blockinfile: