tldr/pages/osx/getfileinfo.md

20 lines
420 B
Markdown

# GetFileInfo
> Get information about a file in an HFS+ directory.
- Display information about a given file:
`GetFileInfo {{path/to/filename}}`
- Display the date and time a given file was created:
`GetFileInfo -d {{path/to/filename}}`
- Display the date and time a given file was last modified:
`GetFileInfo -m {{path/to/filename}}`
- Display the creator of a given file:
`GetFileInfo -c {{path/to/filename}}`