I'm attempting syncing the contents of an S3 bucket (actually digital ocean space) to my local hard drive with aws-cli s3 sync or aws-cli s3 cp --recursive
I've tried using both the aws-cli sync
and cp
commands, but both stop after 1000 objects. I know sync mentions it's limited to 1000 objects with the --page-size flag (https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html), but it seems like everything I've seen talks about syncing entire buckets, but my sync's stop at 1000 objects and I have 7 million to sync.
aws s3 cp s3://MYBUCKET ~/Documents/temp_space --source-region https://sfo2.digitaloceanspaces.com --profile MYPROFILE --endpoint=https://sfo2.digitaloceanspaces.com --recursive
aws sync cp s3://MYBUCKET ~/Documents/temp_space --source-region https://sfo2.digitaloceanspaces.com --profile MYPROFILE --endpoint=https://sfo2.digitaloceanspaces.com
I expect to be able to sync the entire bucket, not just sync 1000 objects.