I have a folder of ~200 000 files with a total size around 300 GB that I need to transfer over an SSH connection to a remote host. I'm looking for a way to have the local files deleted after it's been verified that they've been successfully copied to the remote host, but I can't figure out how to do it. `rsync --remove-source-files` seems unsafe if connection breaks according to other posts ([here](https://superuser.com/questions/405761/rsync-remove-source-files-deletes-source-files-one-by-one-or-after-rsync-compl)). How can it be done safely?