

Preferably, i would want files/folders to stay within their respective workstations and just merge to the server. Unison is a bi-directional synchronization tool and from my testing, it mirrors the files existing on the server to all workstations. I have tried unison just recently and I can safely say it is out of the question now. Any tips at all as to how I am supposed to tackle this?.Is there a different program, much like rsync that can accomplish this task autonomously and in a much simpler manner? I have looked at unison, but I did not like the fact that it keeps a local database for the syncing info.Is there a simple script (preferably in bash, nothing fancy) that can accomplish the deletion of the extraneous files/folders in the event a file is renamed or moved to a different subdir?.

Visual diagram: Server: Workstation1 Workstation2 Workstation(n) Note that I cannot use rsync's -delete flag because any sync from a workstation will then mirror that particular folder tree, instead of merging them to the server.

I have to manually find and delete extraneous files/folders that had been left on the server during previous syncs. My current method for this is by using rsync, (which works pretty well provided directory names and/or files remain the same) however, when files are renamed or moved about within subdir1, rsync will copy them over to the server, creating duplicates. I have a file server, which is in-charge of pulling a folder tree from multiple workstations on a daily basis.
