SSH copy between systems with archiving


/ Published in: Bash
Save to your folder(s)

credit: tim robinson


Copy this code and paste it in your HTML
  1. ssh root@openfiler "(cd /mnt/openfiler/engineering; tar -czf - .)" | ssh root@provexport "tar -xzvf - -C /export/groups/engineering/FromOpenfiler"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.