Manuel:DeleteArchivedFiles.php

From mediawiki.org
This page is a translated version of the page Manual:DeleteArchivedFiles.php and the translation is 36% 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 et arguments

Option Description Required?
--delete Does the deletion. optionnel
--force Force deletion of rows from filearchive. optionnel

Utilisation

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


Terminal
$ php maintenance/deleteArchivedFiles.php --delete

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

Voir aussi