|
>>
|
No. 36180
ID: b925a7
File: 125787568710.jpg-(119.24KB, 596x812, 6970428.jpg)
>>36165
alright...so just cd into the directory you want to dump in terminal and then paste this after modifying the things you need, like changing the name field and the reply thread number to the correct one:
count=`ls | wc -l`;
filen=0;
for file in *{.jpg,.png,.gif,.jpeg,.JPG};
do filen=`expr $filen + 1`;
sleep 5;
echo "Uploading $file...($filen of $count)";
curl -F message="" -F board=dammit -F name="ponoiro" -F em="" -F replythread=30361 -F imagefile="@$file" http://dammitfreehaven.com/board.php;
echo "Done" ;
done
|