I have two projects in Google Cloud and I need to copy files from an instance in one project to an instance in another project. I tried to using the \'gcloud compute copy-fi
If both of them are in the same project this is the simplest way
gcloud compute copy-files yourFileName --project yourProjectName instance-name:~/folderInInstance --zone europe-west1-b
Obviously you should edit the zone according to your instances.