scp命令拷貝文件,拷貝遠程Linux上的文件夾到本地,以下List-1.1所示:bash
List-1.1spa
scp -r username@host:/opt/xx/xxx ./
List-2.1code
scp -r localfile.txt username@host:/dir