Archive pour le mot-clef ‘tar’

Copy a directory over ssh

Mardi 8 mars 2011

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.