[英]How to copy folder from local mac to linux server
Im trying to copy the files in htdocs from my mac to a remote server from AWS. 我试图将htdocs中的文件从我的Mac复制到AWS的远程服务器。 How can I do this?
我怎样才能做到这一点?
You can use scp command to copy the files to or from the linux EC2 instance. 您可以使用scp命令在Linux EC2实例之间复制文件。 Here is the command
这是命令
scp -i yourpemfile.pem ubuntuUser@yourserverIp:/pathToFiles /pathOnYourMac
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.