Manuel:DeleteArchivedFiles.php

This page is a translated version of the page Manual:DeleteArchivedFiles.php and the translation is 14% complete.
Version de MediaWiki :
1.11


Détails

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. optionnel
--force Force deletion of rows from filearchive. optionnel

Usage

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


Terminal
$ php maintenance/deleteArchivedFiles.php --delete

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

See also