Return information about file.
If successful, status is 1 and msg is a structure with the following fields:
NameFull name of file.
archiveTrue if file is an archive (Windows).
systemTrue if file is a system file (Windows).
hiddenTrue if file is a hidden file (Windows).
directoryTrue if file is a directory.
UserReadGroupReadOtherReadTrue if the user (group; other users) has read permission for file.
UserWriteGroupWriteOtherWriteTrue if the user (group; other users) has write permission for file.
UserExecuteGroupExecuteOtherExecuteTrue if the user (group; other users) has execute permission for file.
If an attribute does not apply (i.e., archive on a Unix system) then the field is set to NaN.
If attrib fails, msg is a non-empty string containing an
error message and msg_id is the non-empty string "fileattrib".
With no input arguments, return information about the current directory.
If file contains globbing characters, return information about all the matching files.
See also: glob.
Package: octave