I\'m trying to synchronize two contents of folders with different name:
rsync -av ~/foo user@remote.com:/var/www/bar
I\'d like to copy the cont
Navigate into the directory you would like to copy over, so:
cd ~/foo
Run this:
rsync -avz . user@remote.com:/var/www/bar