http://stackoverflow.com/questions/9...ory-up-to-date
That link looks like he's attempting to do the same thing as you mentioned. The solution sounds like running a cron job that executes rsync periodically. I would personally consider using some sort of source control like SVN or something though.