💻 Software
Resume recursive scp transfer (with rsync?)
Fresh5 days ago
Mar 15, 20268863 viewsConfidence Score0%
0%
Problem
I was transferring several thousand files each ~1MB via scp and my connection was broken after the first 2k files or so. I wanted to know if there was a way to resume the recursive transfer w/o starting over. Something like The problem is I can't seem to get the syntax correct if it is possible. Ca…
Error Output
$ scp -r me@host.com:/datafiles/ ./ ... Happy Transfer ... ... BREAK! ... $ rsync -P me@host.com:/datafiles/ ./ ... Continue transf...
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Resume recursive scp transfer (with rsync?)
Low Risk
The following line should do the trick for that: rsync --partial --progress --rsh=ssh -r me@host.com:/datafiles/ ./ I've never used this for recursive directories before, but when I texted it just now it seemed to work as expected.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix