snippetbashTip
mdls — Display the metadata attributes for a file. More information: <https://keith.github.io/xcode-man-pag
Viewed 0 times
thecommandmetadatamdlsattributesclifordisplay
macos
Problem
How to use the
mdls command: Display the metadata attributes for a file. More information: <https://keith.github.io/xcode-man-pages/mdls.1.html>.Solution
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}}Code Snippets
Display the list of metadata attributes for file
mdls {{path/to/file}}Display a specific metadata attribute
mdls -name {{attribute}} {{path/to/file}}Context
tldr-pages: osx/mdls
Revisions (0)
No revisions yet.