commands.sh

GetFileInfo

macos

Get information about a file in an HFS+ directory.

More info →

Examples (4)

Display information about a given file

GetFileInfo path/to/file

Display the [d]ate and time a given file was created

GetFileInfo -d path/to/file

Display the date and time a given file was last [m]odified

GetFileInfo -m path/to/file

Display the [c]reator of a given file

GetFileInfo -c path/to/file
made by @shridhargupta | data from tldr-pages