03-22-2011
37,
0
Join Date: Nov 2009
Last Activity: 18 May 2011, 3:16 PM EDT
Location: Toronto, Canada
Posts: 37
Thanks Given: 9
Thanked 0 Times in 0 Posts
use rsync to update my music server from my windows notebook
Hello all,
I am fairly new to unix/linux. I am using Ubuntu 10.10 as a server.
I use a laptop that is Windows based (windows 7 ultimate) and I store my music library on that machine.
I was hoping to use rsync to make sure any changes that happen to my music on my computer will be reflected on my server at home. It can be through samba, rather than ssh, as it is my home network so I am not concerned about security.
What is the best way for me to do this? I want to make sure that my laptop files are never altered - i just want the server to be updated (i.e. just check for new files or modified files and if there are no changes from the host and remote, then skip that file).
If I use cygwin or Grsync for windows, would the following work for what I want to do?
rsync -avz /users/user/my music ubuntu:/music