i would like to synch several (lokal) PCs with a NAS Server (remote) using rsync.
My batch works already fine, however i would like to improve such that it is more "synchronising-like", at the moment its more like "manually" updating the server, i.e. two scripts on the lokal pcs wich upload or download files to or from the server.
-u as a rsync option doesnt help either - because this was rsync cannot distinguish between new files that should be upoloaded and old files that should be deleted.
I thought a way to do this would be to save a file-list on the server side after each synch process. Then when a new synch is started every file which has a newer date as the file-list will be updated/uploaded to the server; files older than the file-list will be deleted if they are not existing on the server; finally files on server side will be deleted if they are not existing on the local PC.
Is there a way to do this (or similar) with rsync (or with sth else)? So far i have to "think" wether i want to upload or download; the aim would be to write a batch which can be started automatically with each boot/shutdown of a local PC.
Thanks for your help,
Markus



