tldr/pages/osx/mdls.md

13 lines
273 B
Markdown
Raw Normal View History

2020-10-12 22:29:45 +01:00
# mdls
> Display the metadata attributes for a file.
> More information: <https://ss64.com/osx/mdls.html>.
2020-10-12 22:29:45 +01:00
- Display the list of metadata attributes for file:
`mdls {{path/to/file}}`
- Display a specific metadata attribute:
`mdls -name {{attribute}} {{path/to/file}}`