Advertisement
TangentFox

Send large number of small files over SSH

May 10th, 2019
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.08 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. tar czf - <files> | ssh user@host "cd /wherever && tar xvzf -"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement