mdf-blog/push.sh
2026-03-29 18:07:12 +02:00

7 lines
164 B
Bash
Executable file

#!/bin/sh
for file in $(find public -type f)
do
echo "uploading: $file"
curl -u "$USER:$PASSWORD" https://mdf.farm/api/${file#*/} --upload-file $file
done