Categories
Linux

tar file copy via ssh

( cd SOURCEDIR && tar cf – . ) | ssh target_address “(cd DESTDIR && tar xpf – )”