简体   繁体   English

如何将文件夹从本地Mac复制到Linux服务器

[英]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.

相关问题 将文件夹从服务器(Linux)复制到python中的本地计算机(windows) - Copy folder from server(Linux) to local machine(windows) in python 将文件夹从本地计算机复制到 linux 中的服务器 - Copy folder frrom local machine to a server in linux 如何将整个文件夹从 Amazon EC2 Linux 实例复制到本地 Linux 机器? - How to copy entire folder from Amazon EC2 Linux instance to local Linux machine? 从Mac到Django服务器的Linux本地端口转发 - Local port forwarding from Mac to Linux for Django server 如何在Linux服务器上指向Python的本地副本? - How to I point to a local copy of Python on a Linux Server? 如何在运行时使用python传递存储桶和本地文件夹值时,将所有文件从s3存储桶下载到本地linux服务器 - How to download all files from s3 bucket to local linux server while passing bucket and local folder value at runtime using python 在Linux上将jpg从文件夹复制到文件夹 - Copy jpg from folder to folder on Linux 从Mac和Linux计算机获取本地用户 - Get local users from Mac and Linux machines 如何在Mac / Linux上将元数据添加到文件夹 - How to add metadata to a folder on mac/linux 我的Mac上正在运行本地MAMP服务器。 有没有办法从我的Linux机器访问其文件? - Local MAMP server is working on my Mac. Is there a way to access its files from my Linux machine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM