Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- tar czf - <files> | ssh user@host "cd /wherever && tar xvzf -"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement