I need to track changes to folders with files like jpg or docx, and make a copy to another folder.
I need to make a copy of the file when it changes, keeping the filename and adding the current datetime.
SOURCE: mydoc.docx
TARGET:
mydoc.20111224080000.docx //Changed at 08:00:00
And if I change mydoc.docx a little later target would look like this:
TARGET:
mydoc.20111224080000.docx //Changed at 08:00:00
mydoc.20111224080200.docx //Changed at 08:02:00
The comparison should allways be against the newest file in the TARGET folder.
I need to run in the background, monitoring the folder og in time intervals.
Is there a program that I can use?