When windows uses scp to transfer files in cmd, the escape of symbols such as greater than sign and less than sign

Example:

scp -r [email protected]:'/path/test-^>test' destination_path_on_local_machine

Notice:

  • To surround the path with single quotes
  • Single quotes cannot surround user and host addresses
  • To add "^" before the greater than sign, less than sign, etc. to be escaped
  • The above command is only valid in cmd

おすすめ

転載: blog.csdn.net/qq_28086751/article/details/132459537