To copy one directory into another:
tar fc . | ( cd destination ; tar fx -)
You can use almost the same recipe to copy between host using ssh:
tar fc . | ssh user@host 'cd destination ; tar fx - )'
tar fc . | ( cd destination ; tar fx -)
You can use almost the same recipe to copy between host using ssh:
tar fc . | ssh user@host 'cd destination ; tar fx - )'
No comments yet.