Manual:DeleteArchivedFiles.php

From mediawiki.org
This page is a translated version of the page Manual:DeleteArchivedFiles.php and the translation is 43% complete.
Outdated translations are marked like this.
Versión de MediaWiki:
1.11


Detalles

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

Opción/parámetro Descripción Required?
--delete Hace el borrado. Optional
--force Force deletion of rows from filearchive. Optional

Uso

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


Terminal
$ php maintenance/deleteArchivedFiles.php --delete

Searching for and deleting archived files...
Done! [2 file(s)]

Véase también