For example in my web server, there are 4 webcam images in one folder (continiously updated by overwriting according

to the upload coming from webcam software - as "a.jpg, b.jpg, c.jpg, d.jpg)



Webcam software is always overwriting the image files but I want to keep and save all uploaded images

with increasing numbered file names

(as a0001.jpg, a0002.jpg, a0003.jpg, .... b0001.jpg, b0002.jpg, b0003.jpg, .... for every webcam image

file)

in a seperate folder (by using cron job?) while keeping their upload date and time information.



I dont have knowledge for scripting language , but I can guess that there may be some way to do it by PHP or CRON JOB?