I need a script that will permanently watermark all jpg's in a specified directory and all the sub-directories under it.
This script should also have a method of remembering if it has watermarked the file before.. this can be any method.. checking against a database, a flat file, etc. doesn't matter as long as it's stable and it works.
There is roughly 20,000 to 30,000 jpg's that need to be processed
I will provide a jpg or png for the watermark.