This command will synchronise the contents from local
targetfolder on the server and will prompt for the server password.
rsync -zaP --delete ./sourcefolder/. email@example.com:~/targetfolder
|compress data during the transfer
|archive files and directory while synchronizing. Ensures recursion
|show progress during transfer
|delete files on the server that are not on the sending side