eu_s3_to_gcp.py¶
Copies one or more ENCODE files from AWS S3 storage to GCP storage by using the Google Storage
Transfer Service. See encode_utils.transfer_to_gcp.Transfer
for full documentation.
Note: Currently, only priviledged users with appropriate DCC API keys will be able to make use of this script because the Google STS requires that the source buckets be publicly discoverable. Sice the encode bucket policies deny the action s3:GetBucketLocation on the public principal. Non-priviledged users may find the alternative script eu_create_gcp_url_list.py to be a solution.
usage: eu_s3_to_gcp.py [-h] [-m DCC_MODE]
(-f FILE_IDS [FILE_IDS ...] | -i INFILE)
[-gb GCPBUCKET] -gp GCPPROJECT [-d DESCRIPTION]
[-c S3CREDS]
Named Arguments¶
-m, --dcc-mode |
|
-f, --file-ids |
|
-i, --infile |
|
-gb, --gcpbucket | |
| |
-gp, --gcpproject | |
| |
-d, --description | |
| |
-c, --s3creds |
|