How to rsync with sudo on both sides
When migrating from one server to another, you will likely want to use rsync over SSH to migrate directory trees. It's likely that these trees will not all be owned or even readable by you, meaning sudo is necessary to make the transfer.
It's possible to β¦