2020-04-24 00:45:06 +05:30
|
|
|
# GetFileInfo
|
|
|
|
|
|
|
|
> Get information about a file in an HFS+ directory.
|
2024-01-31 07:20:27 -03:00
|
|
|
> More information: <https://keith.github.io/xcode-man-pages/GetFileInfo.1.html>.
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2020-12-04 07:37:44 -05:00
|
|
|
- Display information about a given file:
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
`GetFileInfo {{path/to/file}}`
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
- Display the [d]ate and time a given file was created:
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
`GetFileInfo -d {{path/to/file}}`
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
- Display the date and time a given file was last [m]odified:
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
`GetFileInfo -m {{path/to/file}}`
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
- Display the [c]reator of a given file:
|
2020-04-24 00:45:06 +05:30
|
|
|
|
2023-12-02 11:53:50 +07:00
|
|
|
`GetFileInfo -c {{path/to/file}}`
|