networkteam/typo3-filesystem-garbage-collection

Filesystem garbage collection

0.1.0 2024-04-03 21:36 UTC

This package is auto-updated.

Last update: 2024-10-19 20:41:50 UTC


README

This provides a command for filesystem garbage collection.

Install

composer req networkteam/typo3-filesystem-garbage-collection

Usage

Delete files in fileadmin/_temp_/ when older than 30 days. Remove empty subfolders with -e.

composer exec typo3 -- cleanup:folder -e 1:/_temp_/ 30

Notes

When a recycler folder (a folder named _recycler_) exists in any parent folder, then the file will be moved to the recycler folder and not really deleted.