Re: URL Access/IE5.x download question...
Re: URL Access/IE5.x download question...
- Subject: Re: URL Access/IE5.x download question...
- From: George Anten <email@hidden>
- Date: Mon, 26 May 2003 03:57:17 -0400
"Tom Robinson" wrote:
>
> curl http://www.client.net/db/images/[1-5000].eps -o
>
> "/Users/test/Desktop/Img_saves/#1.eps"
>
>
Don't wish to be picky, but that should be [0001-5000].
Man page says:
or you can get sequences of alphanumeric series by using
[] as in:
ftp://ftp.numericals.com/file[1-100].txt
ftp://ftp.numericals.com/file[001-100].txt (with leading zeros)
ftp://ftp.letters.com/file[a-z].txt
Also from the man page:
-o/--output <file>
Write output to <file> instead of stdout. If you
are using {} or [] to fetch multiple documents, you
can use '#' followed by a number in the <file>
specifier. That variable will be replaced with the
current string for the URL being fetched. Like in:
curl
http://{one,two}.site.com -o "file_#1.txt"
So I assumed leaving out leading zeros and quotes were OK, no?
g/a
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.