There is no license information available for the latest version (dev-master) of this package.

This package looks for unused resources and deletes them on disc. It does that via a command controller.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0


dev-master 2016-05-06 14:52 UTC

This package is auto-updated.

Last update: 2020-05-07 17:37:08 UTC


This package provides a command controller that allows you to clean up resources. Tested with Flow 2.x

How to use it

Add the package to your Flow Installation. Afterwards you can use the following commands:

./flow resources:cleanup This loops through all files in the Data/Persistent/Resources/ folder and checks if they are still being referenced in the database. If not, the files are deleted.

./flow resources:cleanupbydb This loops through all resources that are known in the database and deletes them if they aren't referenced anymore by a model.


Since this package is manipulating resources and the database it is recommended to make a backup of both your Resources as well as the database. The package can be very helpful when you need to save disc space or need to cleanup things e.g. when preparing for an upgrade to Flow 3.x and above.