From a58a3df7601a764ad3506dc5fe7fc12133e6eda1 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 18 Jan 2022 22:14:09 +0000 Subject: [PATCH] Fix sh --- convert.sh | 2 +- upload.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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