These are useful in manipulating photos (jpegs). They depend on my library argp.sh(1) - see Unix Scripts - and these external packages are required jhead(1), jpgtrans(1), netpbm-progs (pnmscale(1)), libjpeg (djpeg(1), cjpeg(1))
erect-jpeg - rotate a photo so that it displays correctly by examining the Orientation Exim information in the file. Uses xargs(1) to parallelise operations to as many CPUs as it can find.
label-photos - view *.jpg files and prompts for a label for each, putting the label into the Exif comment field. It also recurses through any directories called
zoom, applying the same label to photos of the same name.
rename-jpeg-by-date - renames jpg files according to the date reported by jhead
resize-jpeg - size a jpeg so that the longest side is the required number of pixels and the other side is scaled.