SSH tarpipe (File transfer keeping dir structure)


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

File transfer keeping dir structure


Copy this code and paste it in your HTML
  1. tar cvzf - my_dir | ssh server 'tar xzf -'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.