Why is this gcloud compute copy-files producing an error message?

后端 未结 4 1600
自闭症患者
自闭症患者 2021-02-19 03:29

When I execute the command

gcloud compute copy-files \"C:\\Users\\fName lName\\Desktop\\testtext.txt\" instancename:test.txt --zone europe-west1-a

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 04:13

    Thanks asking this! This appears to be a bug in gcloud that we're now tracking. The issue is that gcloud compute copy-files is interpreting the colon in C:\Users\fNam... as a part of a remote path. As suggested by George's answer, the work around is to avoid local paths containing the colon character.

提交回复
热议问题