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
Try rsync -av ~/foo/ user@remote.com:/var/www/bar/
rsync -av ~/foo/ user@remote.com:/var/www/bar/