by zeroimpl · 6y ago · 0 comments
I often need to transfer very large binary files. When stuck with standard Linux tools, the fastest process is first transfer via scp. If the scp gets interrupted, resume it using rsync with the —-append-verify option.
mostly either:
rsync -av src dest
or: rsync -av --remove-source-files src destYou aren't necessarily wrong, but there's a whole world of distinction you're glossing over. Netcat is part of a set of tools you can use to construct a somewhat equivalent tool to scp without encryption, but nc by itself without tar and gzip (or whatever) match only the simplest possibly use case of scp, which is copying one file, without compression, and ignoring all permissions and ownership info.
This is also ignoring that you might not even have an open port on one side that the other can reach to have netcat listen on.