tintinve
tintinve

Reputation: 97

Wordpress on Google Cloud VM

I need to upload all the wordpress 4.9.6 files to a VM running Ubuntu on Google cloud. So far, I've been able to upload individual files via SSH and move them within directories on the server, but when it comes to upload a folder and subsequently moving them, I just can't.

Can someone please be lovely and help me?

Upvotes: 1

Views: 96

Answers (2)

user835611
user835611

Reputation: 2366

You can remote copy a whole folder with scp.

scp -r [email protected]:/path/to/foo /home/user/Desktop/

From man scp

-r Recursively copy entire directories

Upvotes: 1

Luillyfe
Luillyfe

Reputation: 6842

If you are using a version control system as git, you can clone the repository to google cloud. See this useful link.

git clone https://github.com/yourgitaccount/worpress-project.git

Upvotes: 0

Related Questions