Created
March 13, 2012 17:14
-
-
Save imflop/2029972 to your computer and use it in GitHub Desktop.
simple file transfer between two computers
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
# On computer A with IP 192.168.1.11 | |
$ tar -cf - /data | nc -l -p 34343 | |
# On computer B | |
$ nc 192.168.1.11 34343 | tar -xf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment