#! /bin/bash MAX=1000 for (( i = 0; i < MAX ; i ++ )) do curl --header "Content-Type: text/xml" --data @create_video.xml http://10.33.0.130/api/service/media/vms_videos echo $i done