How to make Unison sync from a Linux machine to Windows XP…
December 8th, 2009 by steveI wanted to use Unison to sync over my local network, but Unison for Ubuntu doesn’t like Samba, so here’s what I did.
- Make sure you have Samba installed.
- Create a folder on your linux machine called something like /mnt/stufftosync. This folder will represent your remote folder of files.
- In the terminal type,
“mount -t smbfs -o username=name,password=password //machinename/sharename /mnt/smbshare” without the quotes, where name is your username, password is your password, and smbshare is your stufftosync. You can pick whatever name you want for stufftosync, provided it corresponds with the folder you created in the /mnt folder.
Perform your sync, using Unison using the location of the files on your Linux machine as the first folder and using /mnt/smbshare, where smbshare is your stufftosync, as the second.
Worked like a charm.
Looks like you have to do type the mount command each time you boot.