Manual:DeleteArchivedFiles.php

Details
deleteArchivedFiles.php file is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|maintenance script to delete all archived files. Information about these files is stored in the fa-table>Special:MyLanguage/Manual:Filearchive table|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 aformentioned table.