How do I sync two local file structures.

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-04-12T13:49:56Z Indexed on 2010/04/12 13:53 UTC
Read the original article Hit count: 135

Filed under:

Hi,

I have two large source trees. One of them has some out of date image files. I would like to automatically update all the old image files (png, jpg, gif) in one source tree with the up to date image files in the other source tree.

I am using Windows 7 but I have Cygwin installed. I have tried using rsync so far but with no success.

I was hoping I could do something like:

rsync -r *.png newSourceTree oldSourceTree

Any help would be much appreciated.

© Stack Overflow or respective owner

Related posts about rsync