Can One Extract a Hyphenated Filename File From a Server Using Curl?

0

The images I'm dealing with have file names like part-1.jpg, object-a.jpg, Aspect-0.jpg. What I'm wondering is what I put in place of ???:

curl -O http://server/[???].jpg

Spackt Lad

Posted 2014-01-31T22:00:40.463

Reputation: 1

Not sure if this question belongs here, but I'm sure I'll be hearing about it if it doesn't. – Spackt Lad – 2014-01-31T22:03:08.770

Would it just be [a-zA-z0-9]-[a-zA-z0-9]? – Spackt Lad – 2014-01-31T22:05:13.450

How do you get alphanumeric? [a-zA-z0-9]? – Spackt Lad – 2014-01-31T22:07:02.160

file names like part-1.jpg, object-a.jpg, Aspect-0.jpg - There appears to be no continent naming system in the names you have given us, so the range feature of curl is useless. If you could create a range that tried all the names you have provided would send millions or billions of requests to the server that would just 404. – Zoredache – 2014-01-31T22:52:20.127

No answers