mdf-blog/push.sh
2026-03-28 21:27:33 +01:00

7 lines
165 B
Bash
Executable file

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