'Google Cloud - Downloading data from bucket to instance

I'm trying download the whole data from my bucket (tracking-data) on google cloud to my instance (instance-1) on Linux system.

I see some options here: https://cloud.google.com/compute/docs/instances/transfer-files#transfergcloud but I'm not sure there's a way there to download from bucket to instance.

I'm accessing my instance through my terminal and I've made a few tries with gsutil, but not successfully so far. Any idea how can I download the whole bucket into my instance? (preferably to put it in MDNet/data, I don't have such directory yet, but I probably should store the data there).



Solution 1:[1]

Use gsutil cp or gsutil rsync

https://cloud.google.com/storage/docs/gsutil/commands/cp

https://cloud.google.com/storage/docs/gsutil/commands/rsync

Solution 2:[2]

Adding fullstop after hitting a space at the end helped me

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Cloud Ace Wenyuan Jiang
Solution 2 Ramasubramanya M.S.