Author: Scott Lewis
Date: 30-06-03 15:48
For a more efficient ssh recursive copy, use a tar pipe:
tar cf - dirname | ssh user@host 'cd /path/to/destination/root ; /usr/bin/tar -xf -'
Rather than sending each file individually, this lets you send one tar archive, and unpack on the other end.
|
|