Michel Roux
57d2862621
All checks were successful
continuous-integration/drone/push Build is passing
8 lines
245 B
Bash
8 lines
245 B
Bash
#!/usr/bin/env bash
|
|
|
|
for FILE in output/epubs/*
|
|
do
|
|
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}"
|
|
done
|