Prefered method if ssh is available.
bash |copy code |?
1 Another way, if you have SSH:2 3 4 5 rsync -aE -e ssh directory user@hostB:target_dir6 7 8 9 or from hostB
Prefered method if ssh is available.
bash |copy code |?
1 Another way, if you have SSH:2 3 4 5 rsync -aE -e ssh directory user@hostB:target_dir6 7 8 9 or from hostB
To copy 2 directories in a little more advanded way you can use rsync.
rsync -aE -e ssh user@hostA:directory target_dir