Created
August 4, 2014 16:00
-
-
Save JaisonBrooks/c8b435c99c38e68fec5b to your computer and use it in GitHub Desktop.
Transfer Files between computers - Bash
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 address 192.168.1.100 | |
$ tar -cf - /path/to/dir | pv | nc -l -p 6666 -q 5 | |
# on computer B | |
$ nc 192.168.1.100 6666 | pv | tar -xf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment