Last active 1705433114

Copy to remote with SSH & tar

Jarno Rankinen revised this gist 1675106232. Go to revision

1 file changed, 0 insertions, 0 deletions

README.md renamed to tar-over-ssh.md

File renamed without changes

Jarno Rankinen revised this gist 1655443434. Go to revision

1 file changed, 1 insertion, 1 deletion

README.md

@@ -1,2 +1,2 @@
1 - `tar -hc src/ | ssh naspi 'tar -xC /path/to/remote'`
1 + `tar -hc src/ | ssh target.machine 'tar -xC /path/to/remote'`
2 2 - will create /path/to/remote/src/ on the target machine with symlinks replaced by their targers

Jarno Rankinen revised this gist 1655443404. Go to revision

1 file changed, 1 insertion, 1 deletion

README.md

@@ -1,2 +1,2 @@
1 1 `tar -hc src/ | ssh naspi 'tar -xC /path/to/remote'`
2 - - will create /path/to/remote/src/ with symlinks replaced by their targers
2 + - will create /path/to/remote/src/ on the target machine with symlinks replaced by their targers

Jarno Rankinen revised this gist 1655443364. Go to revision

1 file changed, 2 insertions

README.md(file created)

@@ -0,0 +1,2 @@
1 + `tar -hc src/ | ssh naspi 'tar -xC /path/to/remote'`
2 + - will create /path/to/remote/src/ with symlinks replaced by their targers
Newer Older