While doing a clone or other activies you all use a tar+scp+untar.
You can get it done in one command and much fater:
tar cvf - >source< | ssh user@server "cd >destination<; tar xvf -"
where:
>source< is the directory/ file to be scp'ed
>destination< is the directory/ path on the destination server where contents are to be copied
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment