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

后端 未结 4 1599
自闭症患者
自闭症患者 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条回答
  •  无人共我
    2021-02-19 04:14

    In order to copy the file testtext.txt that you are specifying, you need to be in the path where that file is and specify its name while copying not the path.

    Example: from your command line lets suppose you are in this path:

    C:\Users\fName lName\Desktop\

    Your command should be the following:

    gcloud compute copy-files --zone europe-west1-b testtext.txt instancename:/PATH_where_you_want_the_file
    

提交回复
热议问题