You're replying to a comment by wjw.

wjw Permalink
February 07, 2009, 00:30

As for the nc over the net command, you can sometimes get a significant performance boost by adding gzip. In most cases the network is the bottleneck, so a few CPU cycles are often worth it.

# on computer A, with IP address 192.168.1.100
 $ tar -cf - /path/to/dir | pv | gzip | nc -l -p 6666 -q 5 
# on computer B
 $ nc 192.168.1.100 6666 | gunzip | pv | tar -xf - 

Also, haven't tried it myself, but I imagine adding -z to the two tar arguements would have the same effect.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "disk_126": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.