2017 © Pedro Peláez
 

typo3-flow-package cleanup

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

image

brainswarm/cleanup

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

  • Friday, May 6, 2016
  • by sporerd
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Brainswarm.Cleanup

This package provides a command controller that allows you to clean up resources. Tested with Flow 2.x, (*1)

How to use it

Add the package to your Flow Installation. Afterwards you can use the following commands:, (*2)

./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., (*3)

./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., (*4)

Hints

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., (*5)

The Versions

06/05 2016

dev-master

9999999-dev

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

  Sources   Download

The Requires