Google Cloud VM上的Wordpress

时间:2018-05-18 15:44:06

标签: ssh google-cloud-platform

我需要将所有wordpress 4.9.6文件上传到在Google云上运行Ubuntu的VM。 到目前为止,我已经能够通过SSH上传单个文件并在服务器上的目录中移动它们,但是当它上传文件夹并随后移动它们时,我就是不能。

有人可以帮助我吗?

2 个答案:

答案 0 :(得分:1)

您可以使用scp远程复制整个文件夹。

scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/

来自man scp

-r Recursively copy entire directories

答案 1 :(得分:0)

如果您使用的版本控制系统为git,则可以将存储库克隆到google cloudSee this useful link

git clone https://github.com/yourgitaccount/worpress-project.git
相关问题