Reputation: 97
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
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
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