use rsync to update my music server from my windows notebook


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers use rsync to update my music server from my windows notebook
# 1  
Old 03-22-2011
Question 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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Syncing Multiple Music Collections, Can rsync help?

Hello, I have two laptops one office and one personal. The office laptop is a Lenovo T430s 16GB RAM running Windows 7 and the Personal Laptop is a hp Pavilion dm4 Laptop dual booted with Windows 7 and Fedora 14. I have 3 music collections, one on my personal Laptop, one on office Laptop and... (3 Replies)
Discussion started by: ajayram
3 Replies

2. UNIX for Dummies Questions & Answers

rsync and "zip" windows server 08 to centos 5.7

Hi All, Im new to the forum and have only been using centos or any kind of linux for about 3months. Please forgive the possible stupid question and the mix of windows words where i don't know the linux equivalent. Looking for a bit of advice, relating to rsync(ing) a windows machine. Ive... (2 Replies)
Discussion started by: lukester85
2 Replies
Login or Register to Ask a Question
rsync_selinux(8)					rsync Selinux Policy documentation					  rsync_selinux(8)

NAME
rsync_selinux - Security Enhanced Linux Policy for the rsync daemon DESCRIPTION
Security-Enhanced Linux secures the rsync server via flexible mandatory access control. FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If you want to share files using the rsync daemon, you must label the files and directories public_content_t. So if you created a special directory /var/rsync, you would need to label the directory with the chcon tool. chcon -t public_content_t /var/rsync To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration: semanage fcontext -a -t public_content_t "/var/rsync(/.*)?" This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local: /var/rsync(/.*)? system_u:object_r:publix_content_t:s0 Run the restorecon command to apply the changes: restorecon -R -v /var/rsync/ SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub- lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub- lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for rsync you would execute: setsebool -P allow_rsync_anon_write=1 BOOLEANS
system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. SEE ALSO
selinux(8), rsync(1), chcon(1), setsebool(8), semanage(8) dwalsh@redhat.com 17 Jan 2005 rsync_selinux(8)