The Setting
So there I was blinking tiredly at my terminal. 2:53AM local time. I had 100 calls to send to a web service, and not much time to do it in. My first impulse was to script something up, but that felt to heavyweight.
The Solution (xargs + wget)
In true unix fashion, the answer was incredibly simple.
xargs -i ./file_with_args -I % | wget --user username --password bang! http://somewhere.org/some/call?x=%
blog comments powered by Disqus