I know there threads such as this that shows how to use Boto3
to download all files: either in a bucket, or a folder (i.e. key
) directly under the bucket.
What would be a generic solution to download all files in a subfolder of any number of levels, as long as the S3 path is given. For example:
s3://bucket_name/level_1_folder/level_2_folder/.../level_N_folder/