Very basic Curl question
August 7, 2006 7:58 AM Subscribe
Very stupid question. Can I use Curl to download every image in a directory? (some idiot, knowing we needed 100+ images, put them in some web gallery rather than on an FTP server and I'm stuck on a Mac here) How?
You can use wget and do something like:
wget -r -l1 --no-parent -A.jpg http://www.server.com/dir/
posted by null terminated at 8:13 AM on August 7, 2006
wget -r -l1 --no-parent -A.jpg http://www.server.com/dir/
posted by null terminated at 8:13 AM on August 7, 2006
Response by poster: null terminated, yeah, except for the I'm stuck on a mac and wget is not part of package just curl
posted by Grod at 8:14 AM on August 7, 2006
posted by Grod at 8:14 AM on August 7, 2006
If the Mac's running Tiger, you could whip up an Automator workflow to do it.
posted by toddshot at 8:19 AM on August 7, 2006
posted by toddshot at 8:19 AM on August 7, 2006
The page I linked to has wget compiled for mac.
posted by null terminated at 8:22 AM on August 7, 2006
posted by null terminated at 8:22 AM on August 7, 2006
Response by poster: null terminated, my bad, thanks a billion!
posted by Grod at 8:24 AM on August 7, 2006
posted by Grod at 8:24 AM on August 7, 2006
Check out wGETs and cURLs, it's a blog filled with examples of these kind of things.
posted by Sharcho at 6:38 AM on August 8, 2006
posted by Sharcho at 6:38 AM on August 8, 2006
This thread is closed to new comments.
posted by fidgets at 8:04 AM on August 7, 2006