s3rmrf

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

s3rmrf: parallel batched DeleteObjects under a single non-empty prefix.

Pipeline:

seed (BFS fanout) -> prefixCh -> [L list workers] -> keyCh ->
[batcher] -> batchCh -> [D delete workers] -> stats

Safety:

  • -prefix is required and must be non-empty (no whole-bucket rm).
  • Refuses to run if bucket versioning is Enabled (DeleteObject would only insert delete markers, not free storage). Suspended is fine.
  • Defaults to dry-run; real deletion requires -yes plus a stdin confirmation of "<bucket>/<prefix>".

Throttling:

  • SDK is configured with adaptive retry and a high MaxAttempts so that S3 SlowDown (503) responses are absorbed transparently. Batches that still fail after the retryer exhausts are counted as `throttled`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL