Manual:deleteArchivedFiles.php

From Linux Web Expert

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.
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.11
<translate> MediaWiki version:</translate>

Details

deleteArchivedFiles.php file is a maintenance script to delete all archived files. Information about these files is stored in the filearchive table. This script allows to delete the actual files from the filesystem - if used without --force, it does however keep the entries in the aforementioned table.

Options/Arguments

Option Description Required?
--delete Does the deletion. <translate> Optional</translate>
--force Force deletion of rows from filearchive. <translate> Optional</translate>

Usage

php maintenance/deleteArchivedFiles.php [ --delete| --force ]


Terminal

See also