Search and filter objects in a MinIO bucket with mc find

domain: min.io · 7 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. List everything under a path: mc find ALIAS/mybucket/ (acts like ls).
  2. Match by name pattern: mc find ALIAS/mybucket --name '*.log'.
  3. Filter by size: mc find ALIAS/mybucket --larger 100MiB --smaller 1GiB.
  4. Filter by age: mc find ALIAS/mybucket --newer-than 7d or --older-than 30d.
  5. Include all versions: mc find --versions ALIAS/mybucket/.
  6. Run a command per match: mc find ALIAS/mybucket --name '*.tmp' --exec 'mc rm {}'.
  7. Watch continuously for new matches: mc find --watch ALIAS/mybucket --name '*.csv'.

Known gotchas

Related routes

Search and filter MinIO objects by name, age, and size with mc find
min.io · 6 steps · unrated
List MinIO buckets and objects with mc ls
min.io · 5 steps · unrated
List MinIO buckets and objects in a tree view with mc tree
min.io · 4 steps · unrated

Give your agent this knowledge — and 17,700+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans