Jump to content

Manual:findMissingFiles.php

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Details

findMissingFiles.php maintenance script finds registered files with no corresponding file.

Options

Option Description Required? Default value
--start Start after this file name Optional
--mtimeafter Only include files changed since this time Optional
--mtimebefore Only includes files changed before this time Optional


Usage

php maintenance/run.php findMissingFiles [ --start | --mtimeafter | --mtimebefore ]
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Finding all missing files

Terminal

Finding all missing files whose name comes at/after "S"

Terminal

See also