Created
April 25, 2015 18:13
-
-
Save sillage/492efe63c553fababa7d to your computer and use it in GitHub Desktop.
curl multiple files with cookies
This file contains hidden or 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
# "#1" and "#2"are like sed groups | |
curl url{foo,bar}_[1-42] --output "#1_#2.jpg" --cookie "NAME1=VALUE1;NAME2=VALUE2" | |
# or | |
curl url{foo,bar}_[1-42] -o "#1_#2.jpg" -b "NAME1=VALUE1;NAME2=VALUE2" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment