Copy a directory over ssh

The useful command of the night since I’ve bought a new computer and I need to copy some data from the old one to the new one :

tar cj MY_DIR | ssh user@ip tar xj -C ~/

For 30 GB by wifi, it will be a bit more efficient than a sftp transfer.

Mots-clefs : , ,

Le commentaires sont fermés.