• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL Access/IE5.x download question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: URL Access/IE5.x download question...
  • Next by Date: Re: Refreshing itunes selection
  • Previous by thread: Re: URL Access/IE5.x download question...
  • Next by thread: Comparing 2 Lists
  • Index(es):
    • Date
    • Thread