Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Fzang

macrumors 65816
Original poster
Jun 15, 2013
1,315
1,081
Basically, the files are laid out

URL/file001.extension
URL/file002.extension
URL/file003.extension
URL/file....

And so forth.

Is there any way I can automatically access and download all instances of URL/file***.extension simultaneously?
 
I'm not 100% sure how you mean. Are the files in a mounted share (e.g. over afp, smb) or are you getting at them over http (e.g. downloading them from a website).

Either way, using a shell command is probably going to be the best bet.
 
Yup, if you're downloading over HTTP then curl is a sensible way forward as suggested above. If it's a share you have mounted then you can do it like this:

Code:
find /Volumes/rest/of/your/path -name "file[0-9][0-9][0-9].jpg" -exec cp "{}" /path/to/folder/on/your/mac/ \;

If you're not sure of the paths then remember that you can drag a folder to the Terminal to find them out.

Hope that's of some help.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.