title: rsync: how to keep a selected target directory permissions?
body: <p>What I couldn't figure out is how to sync local files to remote host, while leaving remote folder permissions for a particular folder /var/www/site1/home/images intact, which is 750, while source folder permissions are 770. I need this folder apache-writable locally,
  but it shouldn't be writable on production server. And I need to keep target permissons only for this folder, for all other files and folders perms must be updated.</p>
  
  <p>Thus far I was experimenting with --exclude, -filter but didn't get the desired effect.</p>
  
  <pre><code>rsync -av --delete /var/www/site1/ root@mysite.com:/var/www/site1/
  </code></pre>