.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../Includes.txt .. index:: pair: Upgrade Wizard; Clean up uploads directory .. _wizards_cleanupdiruploads: Clean up directory uploads ========================== * It will move files from uploads to a 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. * Administrator doesn't know, which file is owned by which client. Precondition ------------ * EXT:multisite (only needed while using this wizard) * Setup of the target path. See :ref:`Administrators > Setup ` * A file storage with the base path of your target path. See :ref:`Explanations > File Storage ` * Files must be referenced Workflow -------- Run this script * with the Upgrade Wizard * or with the CLI .. code:: php typo3cms upgrade:run cleanUpDirUploads