Get rid of unused assets taking up space in your project.
Works by scanning your entire content directory. An asset will be removed if none of the files in this directory points to it.
You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:
composer require swiftmade/statamic-clear-assetsSimply run:
php please assets:clear