Skip to content

mux:prune Artisan Command

Remove orphaned videos from Mux.

Deletes any videos on Mux that no longer exist as local assets. Only affects videos that were uploaded by this addon.

Use --dry-run to print a list of affected files without actually performing the removal.

sh
# Remove orphaned videos
php please mux:prune

# Perform a trial run and print a list of affected files
php please mux:prune --dry-run
Note about command names

Examples on this page use Statamic's Please console, which allows dropping the statamic namespace from command names. When using Laravel's Artisan console, make sure to include the full namespace: php artisan statamic:mux:upload.

Unlicensed commercial plugin