networkteam / typo3-filesystem-garbage-collection
Filesystem garbage collection
Installs: 108
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 1
Type:typo3-cms-extension
Requires
- php: >=8.0
- typo3/cms-core: ^11.5 || ^12.4 || ^13.0
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.