AW: rsync Windows UNC

Stuart Halliday StuartH at ecs-tech.com
Wed Mar 19 16:37:26 GMT 2008


Hehe,
Probably easier to just do:

net use Z: \\sharename\ 

Run rsync script (with a path of /cygdrive/z/)

net use z: /DELETE 

Certainly quicker... ;-)

-- 
Stuart Halliday



-----Original Message-----
From: "Kalb Stefan" <stefan.kalb at mmsag.ch>
To: "Matt McCutchen" <matt at mattmccutchen.net>
Cc: rsync <rsync at lists.samba.org>
Date: Tue, 18 Mar 2008 14:06:02 +0100
Subject: AW: rsync Windows UNC

> Here a detailed list what I've done:
> 
> - I installed the cygwin standard distribution,
> - uninstalled the cwrsync
> - then created the needed mount points:
> Mkdir /mnt
> Mkdir /mnt/Sharename
> - added them into registry
> [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2]
> 
> - installed rsync, cygrunsrv
> - installed cygwin as service
> - created rsync-config-file in /etc
> - created shell script (/usr/bin/rsyncd.sh) for starting rsync as
> daemon
> #!/bin/sh
> /usr/bin/rsync --daemon --config=/etc/rsyncd.conf
> 
> - created a Windows Service for rsyncd.sh
> cygrunsrv -I rsync-daemon -p /usr/bin/rsyncd.sh -e "CYGWIN=server"
> 
> - started Windows service
> - done
> 
> Stefan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Matt McCutchen [mailto:matt at mattmccutchen.net] 
> > Gesendet: Dienstag, 18. März 2008 11:44
> > An: Kalb Stefan
> > Cc: rsync
> > Betreff: Re: rsync Windows UNC
> > 
> > On Tue, 2008-03-18 at 07:55 +0100, Kalb Stefan wrote:
> > > after some pain it works now.
> > 
> > Great!  How did you fix the problem (for the benefit of users 
> > having issues with UNC paths on Cygwin in the future)?
> > 
> > Matt
> > 
> > 
> -- 
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
> http://www.catb.org/~esr/faqs/smart-questions.html


This email is the property of ECS Technology Ltd.
This company is registered in Scotland with company number 212513. 
VAT registered GB 761 7456 12  
http://www.ecs-tech.com/




More information about the rsync mailing list