Skip to content

Delete everything in a bucket while cleaning #35

Description

@bohendo

s3.ListObjects only returns the first 1000 objects in a bucket so, when we run cloudexec clean, we only delete the first 1000 files from each bucket.

Cloudexec should handle pagination while cleaning buckets by getting 1000 objects, deleting them, getting 1000 more, etc until the bucket is entirely empty.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions