I have two large source trees. One of them has some outdated image files. I would like to automatically update all old image files (png, jpg, gif) in one source tree with updated image files in another source tree.
I am using Windows 7, but I have Cygwin installed. I have tried using rsync so far, but without success.
I was hoping I could do something like:
rsync -r *.png newSourceTree oldSourceTree
If there is another way to achieve the same, for example. Perl or Bash script, I will also be open to use.
Any help would be greatly appreciated.
Thanks, James.
James source share