Skip to content

Instantly share code, notes, and snippets.

@JaisonBrooks
Created August 4, 2014 16:00
Show Gist options
  • Save JaisonBrooks/c8b435c99c38e68fec5b to your computer and use it in GitHub Desktop.
Save JaisonBrooks/c8b435c99c38e68fec5b to your computer and use it in GitHub Desktop.
Transfer Files between computers - Bash
# 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