title: How to rsync from remote properly?
body: <p>I am trying to sync a remote directory to the local system directory <code>wimagasin</code> inside the htdocs on the mamp server. </p>
  
  <p>I ran the command from my local htdocs directory:</p>
  
  <pre><code>rsync -avr deploy@wimagasin.se:public_html/wimagasin.se wimagasin
  </code></pre>
  
  <p>But when the command is run, the sync creates completely new directory <code>wimagasin.se</code> inside my local <code>wimagasin</code> directory. I am not sure what is the right way to do this?</p>