unix

How can I rsync files from Windows to Linux?

If you want to pull the directory C:\Windows_Backup on your Windows machine to /backup on a Linux machine, you can do the following:

On the Windows machine :

– Install Cwrsync Server
– Start the RsyncServer service
– Add a new module to the configuration file rsyncd.conf :

[backup]
path = /cygdrive/c/Windows_Backup
read only = true
transfer logging = yes

On the Linux machine:

Use the command below to initiate rsync:

rsync -av windows_machine::backup /backup

This will rsync all of the files in C:\Windows_Backup on the Windows machine to /backup on the Linux machine.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top