script to download images via URL list

Posted on 2009-04-17
Last Modified: 2012-05-06
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 -


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

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

Question by:gevansmdes
    LVL 48

    Accepted Solution

    wget -v --input-file=urls.txt

    Author Closing Comment

    ah thank you

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now