Skip to content

Instantly share code, notes, and snippets.

@jewelsjacobs
Created April 5, 2022 19:18
Show Gist options
  • Save jewelsjacobs/9860cbef66673ef76f5227bbf2f10836 to your computer and use it in GitHub Desktop.
Save jewelsjacobs/9860cbef66673ef76f5227bbf2f10836 to your computer and use it in GitHub Desktop.
[Copy file to macOS clipboard from GCP vm] #gcp #vm #gcloud
gcloud compute ssh --zone [zone] --project [project] [vm-name] --command "cat [file]" | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment