getFileInfo path (option|all)
Given a file or folder path, return the information corresponding to the option argument. Available options are:
If the specified argument is all, the command returns a dictionary of key/value pairs for all the possible options. Otherwise, it returns the value corresponding to the specified option.
Note that some options can also be accessed through Tcl commands such as
[file attributes], [file mtime], etc. This command does not resolve aliases or symlinks.