Clean up uploads/¶
It will move files from uploads/ to client directory.
It will remove files without any reference.
Why do you need this wizard?¶
This upgrade wizard is expedient, if you are running multiple sites in a TYPO3 instance, and several clients have saved their files in the uploads folder:
Editors doesn't have access to the uplaods folder.
Adminstrator doesn't know, which file is owned by which client.
Precondition¶
EXT:multisite
A sys_file_storage record with basePath "uploads/"
Files must be referenced
Workflow¶
You can run the Script
with the Upgrade Wizard
or with the CLI
typo3cms upgrade:run cleanUpUploads