Who Needs to Be Able to Program a Computer?
I have been trying to organize my collection of digital photos. It goes back to 1999 when I had some film photos put on CDs when they were developed. I now have over 1400 photos that take up 1.6 GB. I need to back up all of these photos and set things up so that I can continue to easily back them up. I decided that it would be good to upload them all to the new Yahoo Photos website. Yahoo Photos stores the full resolution pictures and lets me download the full resolution pictures later. It supports tags like Flickr. It is free and I have not found a limit to the amount of space I can use.
I ran into two problems when I started. One is that the upload dialog on linux did not recognize .JPG files as photos. It was looking for .jpg. My current camera, Nikon D50, produces files with the .JPG extension. The other is that my camera does not produce unique names for each file. If I deleted all pictures from the camera, it starts counting again from DSC_001.JPG. I was not going to use the same directory structure on Yahoo Photos. I was just going to upload them all in one big pile and tag them.
I needed to fix the names of the files. I decided to rename each file based on its directory name and fix the case of the extension. I could not think of anyway of doing this except by hand or writing a program. I ended up writing a python program to do it. It is only about 20 lines long. It took me awhile since I had to consult my manual several times. Still it was faster to write, debug, and then run this program than do rename all of the files by hand.
What made this possible is the fact that I do have a large amount of programming experience even if most of it is not recent. I was slow but I knew what I was doing.