Created
April 12, 2014 02:05
-
-
Save jocafa/10514975 to your computer and use it in GitHub Desktop.
curling
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
# I need to "curl -I" the result of the following series of pipes: | |
curl -s -D http://www.gtfs-data-exchange.com/agency/utah-transit-authority/latest.zip | grep Location | cut -d" " -f2 | |
# Note: gtfs-data-exchange.com doesn't play nice with HEAD, but a request for .../latest.zip will *always* spit back a redirect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment