mix storage.purge_unattached (PhoenixContribStorage v0.1.0)

View Source

Purges unattached blobs older than the specified duration.

Usage

mix storage.purge_unattached
mix storage.purge_unattached --days 30
mix storage.purge_unattached --hours 24

Options

  • --days - Remove blobs older than N days (default: 7)
  • --hours - Remove blobs older than N hours
  • --dry-run - Show what would be deleted without actually deleting

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

run(args)

Callback implementation for Mix.Task.run/1.