A request has been made to make a more simplified version of the imageDownloader.  This has prompted the release of imageDownloader-v.2.

Version 1:

Version 1 provided various options: (1) print a list of hyperlinks contained within a web page and dump them into a text file; (2) download images that a web page is linking to; (3) prompt the user to create a new directory (which is where it would save the files to) for either of the two previously mentioned options so that the user could better control where files were being saved to if running through the program numerous times before exiting.

Version 2:

Some folks, myself included, would like to bypass the majority of the choices and just download images to the current working directory.  The idea being that you navigate to where you want to go in your directory tree, create a new directory if desired, cd to that directory, and execute imageDownloader from there.  Once the images have finished downloading, the program exits and the user is returned to a command prompt.  Simple.  Easy.  Fast.

If you use figlet, you can uncomment lines 19 and 57 and either delete or comment out lines 20 and 58 to give you a finishing output that looks like this:

Downloads:

v.2 imageDownloader
v.1 imageDownloader

As stated in the previous post, you’ll want to make sure that the file is executable, and you may also wish to make this globally executable by copying an executable version of the file to your /usr/bin/ directory; this will allow you to call the program from any directory within your file tree.