You could look at rsync for transfer of files, cron or systemd timers for running the transfer daily, and put the commands in a file whose first line is #!/bin/bash or #!/bin/sh, to create the script. You could read the relevant man pages for the commands, or search online for details of each step.