Manual:RefreshImageMetadata.php

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

Detalhes

O ficheiro refreshImageMetadata.php é um script de manutenção para atualizar os campos de metadados de imagens.

Utilização

Parâmetros

Opção/Parâmetro Descrição
--force Reload metadata from file even if the metadata looks ok.
--broken-only Only fix really broken records, leave old but still compatible records alone.
--verbose Output extra information about each upgraded/non-upgraded file.
--start="nome_de_ficheiro" Name of file to start with. Spaces must be replaced by underscores, since the parameter will be used to match the file name as stored in the database.
--end="nome_de_ficheiro" Name of file to end with.
--mediatype="tipo de multimédia" Only refresh files with this media type, e.g. BITMAP, UNKNOWN etc.
--mime="Tipo MIME" Only refresh files with this MIME type. Can accept wild-card 'image/*'. Potentially inefficient unless mediatype is also specified
--metadata-contains="string" (Ineficiente!) Only refresh files where the img_metadata field contains this string. Can be used if its known a specific property was being extracted incorrectly