« Very simple pojo example for an axis2 webservice | Main | Part of the fedora API-M methods that deal with rdf »

Script to curl a list of files

#!/bin/bash if [ ! -d ./dayofpeace ] ; then mkdir ./dayofpeace fi while read inf do curl "http://URL/path/$inf" > "$inf" done << EOF dayofpeace/00612.tif dayofpeace/00613.tif dayofpeace/00614.tif dayofpeace/00615.tif

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)