rsync moving files around

Since Drupal Files directory is often outside of version control, we have to move them another from dev to live in a different way.

To move these files we use RSYNC from within a terminal.

// params: FLAGS, USER, FROM, TO
rsync -avzP steve@blah.com:/var/www/booga.com/drupal/files/ /var/www/booga.comt/drupal/files/

Running this from within a terminal connected to Dev would look like this
Moving Dev up to Live

rsync -avzP  /var/www/booga.com/drupal/files/
steve@booga.com:/var/www/booga.com/drupal/files/

Moving Live down to Dev

rsync -avzP steve@booga.com:/var/www/booga.com/drupal/files/ /var/www/booga.com/drupal/files/

options used:
-a archive
-v verbose
-z compress
-P partial progress

section: