Use rsync to copy only missing files and files with updated content from a remote server.

Scenario: We need to copy from a remote server to local files we dont have and files that their content is updated, also we dont have ssh…

Scenario: We need to copy from a remote server to local files we dont have and files that their content is updated, also we dont have ssh keys and we need a fast and dirty way to authenticate (sshpass).$ rsync --progress --append --partial -vz -e 'sshpass -p password ssh -p 22' user@remote_server:/files/*.csv .

If you use ssh keys you can ommit the sshpass command.