/ Published in: Bash
File transfer keeping dir structure
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
tar cvzf - my_dir | ssh server 'tar xzf -'