Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quickly Copy Large Directory Tree Via SSH

DZone's Guide to

Quickly Copy Large Directory Tree Via SSH

·
Free Resource
To copy the entire directory tree at /some/path to other.host via SSH...


find /some/path -print | sort | cpio -o -Hnewc | ssh -C other.host "cpio -idvum"
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}