Manual:refreshFileHeaders.php

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

詳細

refreshFileHeaders.php ファイルは、メタデータからファイルのヘッダーを更新する保守スクリプトです。

Options

refreshFileHeaders.php accepts following seven options.

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

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