Implement rsync to bash script.