Manual:RefreshFileHeaders.php

This page is a translated version of the page Manual:RefreshFileHeaders.php and the translation is 100% complete.

Detalles

El archivo refreshFileHeaders.php es un script de mantenimiento para actualizar las cabeceras de archivos de metadatos.

Options

refreshFileHeaders.php accepts following seven options.

Option Description Required
--verbose Output information about each file. false
--start Name of file to start with false
--end Name of file to end with false
--media_type Media type to filter for false
--major_mime Major mime type to filter for false
--minor_mime Minor mime type to filter for false
--refreshContentType Set true to refresh file content type from mime data in db false

Usage

php maintenance/refreshFileHeaders.php [ --start| --end| --major_mime| --media_type| --minor_mime| --refreshContentType| --verbose ]

Refreshing file metadata

Terminal

Refreshing files' metadata with verbose

Terminal

Refreshing only PNG files' metadata

Terminal


See also