s3-bucket-load¶
Help command
> csm-data s3-bucket-load --help
Usage: csm-data s3-bucket-load [OPTIONS]
Download S3 bucket content to a given folder
Make use of the default AWS/S3 configuration to access the bucket
More information is available on this page:
d=816704;https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html\https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.ht]8;;\
d=816704;https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html\ml]8;;\
The following environment variables can be used to configure the connection:
• AWS_ENDPOINT_URL : The uri pointing to the S3 service endpoint
• AWS_ACCESS_KEY_ID : Your access key to the service
• AWS_SECRET_ACCESS_KEY : The secret associated to the access key
╭─ OPTIONS ────────────────────────────────────────────────────────────────────╮
│ * --target-folder PATH The folder in which to download the bucket │
│ content │
│ ENV: CSM_DATASET_ABSOLUTE_PATH │
│ [required] │
│ * --bucket-name BUCKET The bucket on S3 to download │
│ ENV: CSM_DATA_BUCKET_NAME │
│ [required] │
│ --web-help Open the web documentation │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯