Purge existing PDFs first so that old names get removed.
This commit is contained in:
1 parent
4e9e714504
commit
a730919b43
1 file changed
+1
@@ -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