rsync -avz -e 'ssh' /path/to/local/dir user@remotehost:/path/to/remote/dir
scp -r /home/myfolder root@example.com:/opt/odoo/
It will copy the folder and all the files in the folder to the destination location.
scp -r /home/myfolder/* root@example.com:/opt/odoo/