Last active
March 3, 2022 02:51
-
-
Save dwallraff/ee0593f5a44097b3299776b31a447046 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