-
-
Save kanguki/5da60213dbb2dd045de4e2e68c304215 to your computer and use it in GitHub Desktop.
Netcat Tar Pipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## -z is optional. Traffic sent will be less, but CPU overhead will be higher. | |
# On the receiving end do: | |
nc -vl 12345 | tar xzv | |
# And on the sending end do: | |
tar czvf - * | nc -v <remote_host> 12345 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment