Overview of osxmetadata
masterosxmetadata is a Python library that provides a unified interface to access and manipulate various macOS file metadata attributes. While Apple's native APIs (like MDItem or NSURL) make it easy to read metadata, they often lack public interfaces to write/set it (e.g., for authors or Finder tags). osxmetadata bridges this gap using a combination of documented and undocumented APIs to allow both viewing and editing of attributes like:
- Tags/Keywords
- Finder comments
- Authors
- Other MDItem Spotlight metadata
Requirements:
- Operating System: macOS 10.15 or later (tested on macOS 13.5.1 Ventura).
- Python Version: 3.10+.