woganmay/s3-download-bucket

Files not copied if folder doesnt exist on local

Opened this issue · 2 comments

Hi,

When I try to download all folders/files, only those files are downloaded for which parent folder exists in local.

The script does create folder for bucket name automatically but not for any of the internal folder.

Hi Vivek,

I haven't used or maintained this script for 4 years. If you need a solution for downloading an entire S3 bucket locally I suggest the s3 cli: https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html

Thanks for such quick reply @woganmay . Appreciate it.
Regarding cli, I can do that one as well.. Its just that using this, I dint have to install aws-cli and related dependencies.. So I found this easier. I did change the script to locally to make it work for internal folders as well. But I understand your point that it is not currently maintained and hence can close this issue.