Copy multiple files via ssh and preserve permissions and ownership 1

Copy multiple files via ssh and preserve permissions and ownership

Copy multiple files via ssh and preserve permissions and ownership. Creating a tarball on the fly and pipe its output through ssh afterwards extracting the files from the tarball will let us speedup the uploading times because the stream of data is continuous through the network and therefore will be done in one single connection. […]