Sure, unison will handle this for you. I'd probably add a mount option in /etc/fstab to take care of mounting the Windows share. Then, you'll easily be able to run Unison to sync both ways.
Make the mount point
Code:
sudo mkdir /var/music
Allow your user read/write
Code:
sudo chown <user>:<user> /var/music
*Replace <user> with your username
Edit /etc/fstab
Code:
sudo gedit /etc/fstab
Paste this at the bottom
Code:
//192.168.1.1/music /var/music cifs 0 0
mount the share
Sync the files
Code:
unison /var/music /home/<user>/Music/
This would sync from your Windows share to your local user music folder.
That might not be clear enough to follow, so let me know if you need clarification.
Bookmarks