tldr/pages/osx/getfileinfo.md

20 lines
420 B
Markdown
Raw Normal View History

2020-04-23 20:15:06 +01:00
# GetFileInfo
> Get information about a file in an HFS+ directory.
2020-12-04 12:37:44 +00:00
- Display information about a given file:
2020-04-23 20:15:06 +01:00
`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}}`