Files
cheatsheet-tldr/tldr/osx/mdls

18 lines
384 B
Plaintext

---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# mdls
> Display the metadata attributes for a file.
> More information: <https://keith.github.io/xcode-man-pages/mdls.1.html>.
- Display the list of metadata attributes for file:
`mdls {{path/to/file}}`
- Display a specific metadata attribute:
`mdls -name {{attribute}} {{path/to/file}}`