This commit is contained in:
parent
070eb6143e
commit
c1203f98fe
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
for FILE in output/epubs/*
|
for FILE in output/*
|
||||||
do
|
do
|
||||||
ebook-polish -fjpuiHU "${FILE}" "${FILE}"
|
ebook-polish -fjpuiHU "${FILE}" "${FILE}"
|
||||||
ebook-convert "${FILE}" "${FILE%.*}.pdf"
|
ebook-convert "${FILE}" "${FILE%.*}.pdf"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
for FILE in output/epubs/*
|
for FILE in output/*
|
||||||
do
|
do
|
||||||
FILE_URL=$(sed "s/ /%20/g" <<< "${FILE##*/}")
|
FILE_URL=$(sed "s/ /%20/g" <<< "${FILE##*/}")
|
||||||
curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE_URL}"
|
curl -Ss -u "${USERNAME}":"${PASSWORD}" -T "${FILE}" "https://cloud.crystalyx.net/remote.php/dav/files/${USERNAME}/Public/TWI/${FILE_URL}"
|
||||||
|
Reference in New Issue
Block a user