System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

GetFileInfo

Get information about a file in an HFS+ directory. More information: https://www.unix.com/man-page/osx/1/GetFileInfo/.
  • 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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.