Close
petopeto said:
curl http://moe.imouto.org/post/create.xml -H "Expect:" -F 'login=name' -F 'password_hash=hash' -F 'post[tags]=moo' -F 'post[file]=@filename'
for multiple instances i use

for i in 1.png 2.png 3.png 4.png etc; do curl http://moe.imouto.org/post/create.xml -H "Expect:" -F 'login=name' -F 'password_hash=hash' -F 'post[tags]=moo' -F 'post[file]=@[path to folder with images]'"$i"; done

You can add as many files as you want. Hope it heps.