Skip to content

Instantly share code, notes, and snippets.

@imflop
Created March 13, 2012 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imflop/2029972 to your computer and use it in GitHub Desktop.
Save imflop/2029972 to your computer and use it in GitHub Desktop.
simple file transfer between two computers
# 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