I recently had the need to timestamp/datestamp a large number of image files using the EXIF data stored in the files. A shell script under Linux was my preferred choice for this, but I’ve always found shell scripting to be cryptic and ImageMagick difficult to master due to the range of tools and command line options. After some searching I came across some useful advice which I adapted for my own needs. The changes I made were to ensure the date followed the UK format, tailoring the colour and size of the stamp to my preferences, as well as providing more useful feedback on progress.
The results are here in case anyone else finds them useful. I haven’t attempted to break long lines in case that introduced errors.