What I want to do is have it so that I run wget and FEH (an image viewer) and each time they are run, a different, random image file is download with wget and run in feh.
Now here is the tricky part...the images are online and are cool Garfield comics. They are named according to the date. For example: http://images.ucomics.com/comics/ga/2006/ga061016.gif
As you can see, the year is the folder that the image lies in, and the filename is "ga" then two digit year, month, date then .gif
How would i create a script to randomly download just one image, then use feh to show that image?
Some of the years would start with 19 and some with 20, and i need to make sure i don't use dates like sep 31 or feb 29 (unless it's a leap year).
Any help would be great, even a point in the right direction is appreciated.