This will transfer a file or a whoel directory tree, just execute it from the directory you are wanting to cop to the second server and have your root password the second machineready
tar cpf - . | ssh [email protected] 'cd /path/on/new/server; tar xvf -'
__________________
“Ours is a world of nuclear giants and ethical infants. We know more about war than we know about peace, more about killing than we know about living. If we continue to develop our technology without wisdom or prudence, our servant may prove to be our executioner.” ― Omar Bradley (1948)
|