Manuel:RefreshFileHeaders.php

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

Détails

Le fichier refreshFileHeaders.php est un script de maintenance pour rafraîchir les en-têtes de fichier de métadonnées.

Options

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

Utilisation

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

Voir aussi