Purge Assets is a Craft plugin for super-simple purge of assets and products, either via the control panel or with console commands. With support for soft or hard delete.
This plugin requires Craft CMS 3.5.0 or later.
You can install this plugin from the Plugin Store or with Composer.
Go to the Plugin Store in your project’s Control Panel and search for “Purge Assets”. Then click on the “Install” button in its modal window.
Open your terminal and run the following commands:
# go to the project directory
cd /path/to/my-project.test
# tell Composer to load the plugin
composer require brambeekman/purge-assets
# tell Craft to install the plugin
./craft install/plugin purge-assets