Datei-Metadaten
spotlight_metadata{"description":"Retrieve Spotlight-indexed metadata for any file using macOS mdls. Specify attribute names to limit the result, or omit attributes to read all indexed metadata for a given absolute file path."}
Instructions
Liest die von Spotlight indexierten Metadaten einer Datei (mdls). Ohne attributes alle, sonst nur die genannten (z. B. kMDItemContentType, kMDItemContentCreationDate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absoluter Dateipfad | |
| attributes | No | Attributnamen, z. B. ["kMDItemContentType", "kMDItemPixelHeight"] |