[!!!][TASK] Migrate lowlevel rte_images command to Symfony Console
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-78895-LowlevelRteImagesCommandParametersChanged.rst
1 .. include:: ../../Includes.txt
2
3 ===============================================================
4 Breaking: #78895 - Lowlevel RteImagesCommand parameters changed
5 ===============================================================
6
7 See :issue:`78895`
8
9 Description
10 ===========
11
12 The existing CLI command within EXT:lowlevel for detecting and removing RTE files within uploads/ which are not referenced by TYPO3
13 has been migrated to a Symfony Console command. The same command is also used to copy RTE images which are used multiple
14 times on multiple references, to be only used once.
15
16 The previously command available via `./typo3/cli_dispatch.phpsh lowlevel_cleaner rte_images` is now available via
17 `./typo3/sysext/core/bin/typo3 cleanup:rteimages` and allows the following CLI options to be set:
18
19 `--update-refindex` - updates the reference index before scanning for lost files. If not set, the user is asked if the task should be run
20 `--dry-run` - do not copy / delete the files but only list the files that are not wrongly connected or not connected at all.
21
22 The PHP class of the old CLI command `TYPO3\CMS\Lowlevel\RteImagesCommand` has been removed.
23
24
25 Impact
26 ======
27
28 Calling the old CLI command `./typo3/cli_dispatch.phpsh lowlevel_cleaner rte_images` will result in an error message.
29
30
31 Affected Installations
32 ======================
33
34 Any TYPO3 instances using the lowlevel cleaner for finding RTE image files.
35
36
37 Migration
38 =========
39
40 Update the CLI call on your servers to the new command line and available options as shown above.
41
42 .. index:: CLI