3 ms·
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
by eb0la 2y ago
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 - )'