Linux远程复制

1.从远程服务器上复制
    文件
    scp [email protected]:/data/ipj/action/2013-7-29/1.zip /home/asheng/ipj
    目录
    scp -r [email protected]:/data/ipj/action/2013-7-29/ /home/asheng/ipj/
2.将本地文件上传至远程服务器
    文件
    scp /home/asheng/ipj/ [email protected]:/data/ipj/action/2013-7-29/1.zip 
    目录
    scp -r /home/asheng/ipj/ [email protected]:/data/ipj/action/2013-7-29/

相关推荐