Код: Выделить всё
#!/bin/bash
while IFS= read -r line
do
aws s3 cp --no-sign-request s3://.../$line E:/Papua_New_Guinea/ --region us-east-1 --no-sign-request
done
Подробнее здесь: [url]https://stackoverflow.com/questions/79241265/how-to-download-a-subset-of-dataset-from-aws-cli-either-bash-script-or-python-s[/url]
Мобильная версия