DEV Community

Discussion on: linux : rsync vs scp

Collapse
 
bam92 profile image
Abel Lifaefi Mbula

The two commands are not similar at all, except that they all do copy from A to B. scp is limited:

  • not so many options compared to rsync
  • not optimized
  • can't resume if copy fails
  • etc.

The only thing that scp has over rsync is that it's secure by default. But if you're concerned about security (I think everyone should be), you can use rsync --rsh=ssh to secure rsync.

You can learn more here