SCP-How-To
2017 - 01 - 22
Local flder t1/, file tt1.
example:
-r
: recursively.
Port nr. option is in captical char.
Result:
- if
/mnt/share/
has foldert2/
,t1/
will be int2/
. - if no such a dir,
t1/
will be renamed ast2/
insideshare/
. - if there is file t2:
mnt/share/t2
, will get error "scp: /mnt/share/t2: Not a directory". - scp will NOT create new folder on server.