linux - How to use `scp` command copy a folder while not rewrite the local file with same name? -


I am using scp to copy a folder from a remote server, though , This copy process, I am trying to re-skip, but I do not want to over-write files in that folder, which has been copied to local.

If it is

Use the text ">

just rsync . The syntax is nearly identical, it also works on the SSH, and it intelligently transfers the difference between files. Example:

  rsync * .jpg Hostname: yourdir    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -