rsync Syntax Question for Connecting to Remote Windows Machine
Sorry for re-posting this but I just realized that I mis-typed "rsync" in the original question so it probably doesn't make any sense.
In the Negus book for FC2 he provides the command line for using rsync to transfer files from a remote computer to the home computer. Unfortunately, his example is based on two Linux machines. Can someone tell me the proper command line syntax for identifying the Windows machine? I understand how to put the machine's name in the line but I can't figure out how to refer to the drive letter to complete the path to the sub-directory of interest. I'm running FC4 and have Samba working. Thanks for any help you can provide. |
If you are looking to use rsync over samba and not over ssh (which is faster and more secure) then you will need to mount the windows share on the linux box and then run rsync as if it was a local directory:
mount -t smbfs //ip.of.win.box/share /mnt/share rsync -va /path/to/src /path/to/dst You may want to include a modify window to deal with some timestamp problems that can occur using windows boxes. |
Thanks for the help, I'll try it.
I'll also try setting up SSH. I checked Negus and he only has a short discussion that seems more "about" SSH than how to use it. Can you tell me what the command line would be to copy only the new files in a directory on a remote Windows machine to the Linux box? Thanks again for your help. |
It will automatically only copy the new or modified files.
|
All times are GMT -5. The time now is 05:18 AM. |