hi, i'm back again with another log format problem.... now i need to know the base directory from where rsync is taking the files. for instance, the follow line: 2005/09/07 22:06:52 [732] COMPAQ/INSIGHT MANAGER/cim_db/ both can be of anyone of the follow commands: "C:\Program Files\cwRsync\bin\rsync" -avr "/cygdrive/C/Program Files/COMPAQ" "C:\Program Files\cwRsync\bin\rsync" -avr "/cygdrive/C/COMPAQ" "C:\Program Files\cwRsync\bin\rsync" -avr "/cygdrive/D/Program Files/COMPAQ" what i want is to distinguish in the log between the three cases -------------- next part -------------- HTML attachment scrubbed and removed
On Wed, Sep 21, 2005 at 05:27:17PM -0300, Mario Tambos wrote:> now i need to know the base directory from where rsync is taking the > files.Since the daemon doesn't know this information, you can create duplicate modules in the rsyncd.conf file (each having the same config details except for the name) and then use a different module name based on where the files are coming from. ..wayne..
On Wed, Sep 21, 2005 at 05:27:17PM -0300, Mario Tambos wrote:> now i need to know the base directory from where rsync is taking the > files.One other option (other than using multiple identical modules) is to use a single module with "auth users" enabled, and multiple authorized usernames. Then, make each copy that starts from a separate source use a different username. ..wayne..