7 lines
132 B
Plaintext
7 lines
132 B
Plaintext
|
#!/bin/sh
|
||
|
# Copy recursively over ssh
|
||
|
server="$1"
|
||
|
folder="$2"
|
||
|
ssh "$server" "mkdir -p '$folder'"
|
||
|
scp -rC "${@:2}" "$server:$folder"
|