Hello, Not sure if any of you can help me with a rsync challenge I am having, but here goes. I am trying to get two Windows XP professional computers to synchronize using a windows remote desktop connection. When remotely connected to one of the computers from the other in Windows explorer the folders and drives of both computers are visible. However when I try to run a Rsync script to make the contents of the folder on the local machine match the remote machine I don't succeed. Rsync does not know how to find the remote desktop drives. They are listed as system folders \\tsclient\C\. I have tried rsync -rvt "/cygdrive/f/andrestuff/AZPHD/test" "/cygdrive/tsclient/C/andrestuff/AZPHD/test" Which finds the folder on the local F drive without any problem but then cannot find the remote drive. Note that the remote drive show up in Windows explorer and the list of drives on 'my computer' as C on CHURLAB1 (the remote computer is CHURLAB1). Thus I also tried rsync -rvt "/cygdrive/f/andrestuff/AZPHD/test" "/cygdrive/C on CHURLAB1/andrestuff/AZPHD/test" But this gave me the same cannot find folder error. Is it possible to make use of Windows remote desktop connection to pass files between computers with Rsync? Any suggestions? Thanks, Andre
Hi, I'm not a cygwin specialist, and i don't know if you can use UNC names with cygwin ... But as a workaround, you can simply map your network resource with a local drive by simply use the "connect a network drive" windows feature, then you can access it through its drive letter, like any other local drive. I use this on some windows box, and it work well ! Hope this help ... Alain. At 06:53 30/08/2007 -0700, you wrote:>Hello, > >Not sure if any of you can help me with a rsync challenge I am having, but >here goes. I am trying to get two Windows XP professional computers to >synchronize using a windows remote desktop connection. When remotely >connected to one of the computers from the other in Windows explorer the >folders and drives of both computers are visible. However when I try to run >a Rsync script to make the contents of the folder on the local machine match >the remote machine I don't succeed. Rsync does not know how to find the >remote desktop drives. They are listed as system folders \\tsclient\C\. I >have tried >rsync -rvt "/cygdrive/f/andrestuff/AZPHD/test" >"/cygdrive/tsclient/C/andrestuff/AZPHD/test" >Which finds the folder on the local F drive without any problem but then >cannot find the remote drive. Note that the remote drive show up in Windows >explorer and the list of drives on 'my computer' as C on CHURLAB1 (the >remote computer is CHURLAB1). >Thus I also tried >rsync -rvt "/cygdrive/f/andrestuff/AZPHD/test" "/cygdrive/C on >CHURLAB1/andrestuff/AZPHD/test" >But this gave me the same cannot find folder error. > >Is it possible to make use of Windows remote desktop connection to pass >files between computers with Rsync? Any suggestions? Thanks, Andre > >-- >To unsubscribe or change options: >https://lists.samba.org/mailman/listinfo/rsync >Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Andre Zimmermann wrote:> They are listed as system folders \\tsclient\C\. I have tried > rsync -rvt "/cygdrive/f/andrestuff/AZPHD/test" > "/cygdrive/tsclient/C/andrestuff/AZPHD/test"The UNC path should be translated to //tsclient/C/ i.e. left alone, except forward slash use (it works also with backward slashes but I don't think rsync likes them). Mapping the drive is probably better anyway... PS: of course in this way rsync can't work his magic, as "reading the remote file" to know what has to be sent in fact already send it all already, and then it would send the actual differencies, so it could possibly be slower than a simple copy, I wonder? But if you're planning to use rsync for its wealth of back-options and not his "speed", then it's good this way too... Lapo
Reasonably Related Threads
- File locking issue
- URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
- URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
- URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
- URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied