Manual:refreshFileHeaders.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 <translate> Optional</translate>
--start Name of file to start with <translate> Optional</translate>
--end Name of file to end with <translate> Optional</translate>
--media_type Media type to filter for <translate> Optional</translate>
--major_mime Major MIME type to filter for <translate> Optional</translate>
--minor_mime Minor MIME type to filter for <translate> Optional</translate>
--refreshContentType Set to true to refresh file content type from mime data in database <translate> Optional</translate>

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