quoth the Timothy A. Holmes: > Hi folks: > Our school website is hosted on our webserver (192.168.0.29) in > /var/www/mca0506/htdocs the site is created with Macromedia Dreamweaver (I > know I know....) and the teachers edit it using Macromedia Contribute. > This is important because, Dreamweaver makes changes to my local files > (which are on 192.168.0.4/data/website/mca0506) and Contribute makes its > changes directly on the live site on the main webserver. What I need is a > way to sync the two bi-directionally. As I create pages etc, those changes > would need to go up to the site, and as the teachers update their sites > etc, those changes would need to be synced back to my local files, both so > that I can
Did you have more to add there? Anyway, my first thought is to use rsync, the same tool that syncs your local and the main portage tree. The problem is the bidirectionality of it. If there is a certain time of day that the teachers are doing their thing, then you could sync your copy after (or before) the time of day you know they will be working. If you need real-time updates this may not work. A better solution may be to either mount your copy or the master server's copy with NFS. That way, you will all be operating on the same files...but they will appear local to all concerned. If you are doing some testing/development on your copies that you don't want on the live server then this may not be suitable... -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 -- [email protected] mailing list

