Purge existing PDFs first so that old names get removed.
This commit is contained in:
@@ -849,6 +849,7 @@
|
|||||||
function_ebook_convert: |
|
function_ebook_convert: |
|
||||||
# Regenerate all eBook projects at once.
|
# Regenerate all eBook projects at once.
|
||||||
function ebook-convert {
|
function ebook-convert {
|
||||||
|
find ~/Code/ebook-* -name "*.pdf" -print -delete
|
||||||
find ~/Code/ebook-* -name convert.sh -print -exec bash "{}" \;
|
find ~/Code/ebook-* -name convert.sh -print -exec bash "{}" \;
|
||||||
}
|
}
|
||||||
alias ebooks="ebook-convert"
|
alias ebooks="ebook-convert"
|
||||||
|
Reference in New Issue
Block a user