title: rsync only certain types of files
body: <p>I know there has been a huge discussion about this but I have not found something this specific. 
  Im trying to copy all <em>.key files in /home/</em>/ directory</p>
  
  <p>This does not work</p>
  
  <pre><code>/usr/bin/rsync -auPA --include="*/*.key" --exclude="*" /home/* /tmp/test
  </code></pre>
  
  <p>This works but it copies over unwanted empty directories like /home/uname/Documents</p>
  
  <pre><code>/usr/bin/rsync -auPA --include="*/" --include="*.key" --exclude="*" /home /tmp/test
  </code></pre>
  
  <p>Basically what i need for rsync to do is to copy only files with .key extension and only create necessarily folders that contain .key files </p>