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


You need to login to view comments.