News for hackers. Stuff that matters.
Re:Transfer.sh – File sharing from the command line by int0x80 on Wednesday June 20, 2018 @01:57PM (#17357859)

    tar cf - src/ | ssh $host "tar -C /dest/dir -xf -"
Re:Transfer.sh – File sharing from the command line by reacharavindh on Wednesday June 20, 2018 @04:08PM (#17359246)
Do you have any idea about a crazy fast way to transfer files between two machines on the internal network?

No encryption necessary No integrity checks No resume support Just plain and as fast it could get..

I need to try the netcat version but I'm hoping someone could show me a concurrent version of it that is mad fast.

Re:Transfer.sh – File sharing from the command line by int0x80 on Wednesday June 20, 2018 @04:57PM (#17359685)
You can use nc (netcat). If you have a 10G ethernet you will not saturate it because you will be limited by disk IO (I get 1Gb/s disk reads for a M.2 SSD). I you can read from disk faster, netcat alone will not saturate a 10G link, probably will hit a 3Gb/s limit (depending on your hw). You will need parallel transfers (xargs, a bit of scripting etc). You can also try rsync, maybe it is good enough for you.
Re:Transfer.sh – File sharing from the command line by mnarayan01 on Thursday June 21, 2018 @10:50AM (#17365660)
From your source machine:

  < /path/to/source ncat remote-host 8001
On your destination machine:

  ncat -l 8001 > /path/to/dest
Though in most situations with files of reasonable size, you're probably going to be better off running through `gzip -c`.