Re: GCP Copy Files - Data Export

2022-02-10 Thread MRAB

On 2022-02-10 17:20, BmoreIT wrote:

I did a data export from Google to export all company data - Google Data Export

It shows the root folder and to download, I run this command (it automatically 
enters this command)

gsutil -m cp -r \ "gs://takeout-export-myUniqueID" \.
But I have no idea where it would save it being I am not a GCP customer, only 
Google Workspace. Workspace won't help because they say it's a GCP product but 
I am exporting from Workspace.

Can someone let me know the proper command to run on my local machine with 
Google's SDK to download this folder? I was able to start the download 
yesterday but it said there was an invalid character in the file names so it 
killed the export.

Appreciate any help!


On this page:

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

I think the problem might be that you have an surplus backslash.

Does this work?

gsutil cp -r gs://takeout-export-myUniqueID .

This should copy recursively from gs://takeout-export-myUniqueID to the 
current folder.

--
https://mail.python.org/mailman/listinfo/python-list


GCP Copy Files - Data Export

2022-02-10 Thread BmoreIT
I did a data export from Google to export all company data - Google Data Export

It shows the root folder and to download, I run this command (it automatically 
enters this command)

gsutil -m cp -r \ "gs://takeout-export-myUniqueID" \.
But I have no idea where it would save it being I am not a GCP customer, only 
Google Workspace. Workspace won't help because they say it's a GCP product but 
I am exporting from Workspace. 

Can someone let me know the proper command to run on my local machine with 
Google's SDK to download this folder? I was able to start the download 
yesterday but it said there was an invalid character in the file names so it 
killed the export.

Appreciate any help!
-- 
https://mail.python.org/mailman/listinfo/python-list