AW: rsync Windows UNC

Matt McCutchen matt at mattmccutchen.net
Wed Mar 19 16:41:33 GMT 2008


On Wed, 2008-03-19 at 16:37 +0000, Stuart Halliday wrote:
> Probably easier to just do:
> 
> net use Z: \\sharename\ 
> 
> Run rsync script (with a path of /cygdrive/z/)
> 
> net use z: /DELETE 
> 
> Certainly quicker... ;-)

The problem is that Stefan is operating a daemon with too many shares
for them all to have drive letters all the time.  It might be possible
to map and unmap network drives dynamically using "pre-xfer exec" and
"post-xfer exec", but it would take a lot of care to make that work
correctly with multiple concurrent connections.

Matt



More information about the rsync mailing list