diff --git a/convert.sh b/convert.sh index 5bd8428..3e328fd 100644 --- a/convert.sh +++ b/convert.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -for FILE in output/* +for FILE in output/epubs/* do ebook-polish -fpuiU "${FILE}" "${FILE}" ebook-convert "${FILE}" "${FILE%.*}.pdf" diff --git a/upload.sh b/upload.sh index 8480575..618ec0f 100644 --- a/upload.sh +++ b/upload.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -for FILE in output/* +for FILE in output/epubs/* do curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE##*/}" done