I could keep running it until hopefully I eventually got a clean run without a stall but that seems a bit hit and miss.
So I'd like to tell scp to retry the file if it stalls (and maybe for 10 bonus points tell it to skip it if it fails after X tries), but I can't find how. It's not much use it just sitting there forever telling me it's stalled, yet there's apparently no way to tell it to continue.
Failing that I'd like to run scp again but tell it to not copy any files that already exist and are the same size, but I can't find how.
Failing that, I'd considered using sftp but it doesn't support recursing subdirectories.
I can't be the first person to want to do this. Anyone any ideas?