title: rsync copy over only certain types of files using include option
body: <p>I use the following bash script to copy only files of certain extension(in this case *.sh), however it still copies over all the files.  what's wrong?</p>
  
  <pre>
  from=$1
  to=$2
  
  rsync -zarv  --include="*.sh" $from $to
  </pre>