Amazon S3 console: download multiple files at once

后端 未结 15 1668
傲寒
傲寒 2021-01-31 07:00

When I log to my S3 console I am unable to download multiple selected files (the WebUI allows downloads only when one file is selected):

https://console

15条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 07:28

    If you use AWS CLI, you can use the exclude along with --include and --recursive flags to accomplish this

    aws s3 cp s3://path/to/bucket/ . --recursive --exclude "*" --include "things_you_want"
    

    Eg.

    --exclude "*" --include "*.txt"
    

    will download all files with .txt extension. More details - https://docs.aws.amazon.com/cli/latest/reference/s3/

提交回复
热议问题