• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2328
  • Last Modified:

script to download images via URL list

Can someone please make me a script I can easliy run on a linux OS (or even windows it doesn't matter).. Im not a programmer but I can run a shell script on unix or a batch file in windows

I have a list of URL's in a text file -

example
http://www.website.com/images/50/705077001430.gif
http://www.website.com/images/5000/705077001431.gif

The list is rather large (450 urls/images) and downloading by hand would take awhile

Can someone throw together a script that will read the list of URL's and download each image and place them all in the same folder.

example of the resulting output
images/50/705077001430.gif
images/5000/705077001431.gif

I'd need to keep the folder structer and image name the same as named in the URL - BUT IF this complicates the script to much I really only have to have the image name remain the same, I can place them in folders after they are downloaded.

Many thanks


0
gevansmdes
Asked:
gevansmdes
1 Solution
 
TintinCommented:
wget -v --input-file=urls.txt
0
 
gevansmdesAuthor Commented:
ah thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now