Skip to content
Snippets Groups Projects
Commit da8e4d77 authored by Benni Mack's avatar Benni Mack Committed by Susanne Moog
Browse files

[!!!][TASK] Migrate LostFilesCommand to Symfony Console

The EXT:lowlevel command "LostFiles" searched through
uploads/* and checks if any files are not in use by TYPO3 by
checking against the reference index.

The command was previously available under
./typo3/cli_dispatch lowlevel_cleaner lost_files

and is now called via
./typo3/sysext/core/bin/typo3 cleanup:lostfiles

and allows the following options:
--dry-run - do not delete the files, but just print them
--exclude=uploads/pics/,uploads/downloads/ -- skip certain folders and files
--update-refindex - update the reference index, do not ask the user

Resolves: #78552
Releases: master
Change-Id: I1f20c4c2f47d1dd13f8f32433e7e0d0666518d5a
Reviewed-on: https://review.typo3.org/50487


Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
parent 1c7cf356
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment