Created
January 8, 2010 12:19
-
-
Save kubicek/272016 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for ico in `cat ico.txt`;do | |
echo "FETCHING $ico" | |
`curl "http://wwwinfo.mfcr.cz/cgi-bin/ares/darv_or.cgi?ico=$ico&ver=1.0.2"` >> data.xml | |
curl -X PUT --data-binary @data.xml http://localhost:5984/obchodni_rejstrik/_design/updater/_update/save_xml/$ico | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment