Putting a dot at the end

Hello, I have a question about why we need to put a dot at the end.
For example, in the command: "gsutil cp gs://uniquecloudstoragebucketname/*.svg ."  
why do we put a space and a dot at the end? 
I am also attaching a screenshot of this.

2023-06-03_01-10.png

 
0 3 301
3 REPLIES 3

Hi, nastya_nmk,

Let's put dots on ...

In Linux bash scripts (which is what we have in Cloud Console when inputting commands) a dot (".") means the current folder. So in your example the command gsutil copy all files with the extension svg into the "current folder" (which is ~, that also means in Linux "a home folder for your user, who is student-...."). After you copy files you can use "ls" command and then you can see several svg files in your current folder.

Best,

MC

Thank you very much. I understand it now.

My pleasure.

Top Labels in this Space