[linux] copy files to other machine

You want to copy the whole directory in machine 1 to machine 2.
And there are a lot of files under the folder.

machine 1:
tar -cpf – srl | nc 192.168.1.230 1234

machine 2:
nc -l 1234 | tar -xf –

nc is a good command 🙂

Advertisements