Retrieves named extended attributes from a file.
The getea command reads named extended attributes from a file. If the -n Name parameter is specified then just extended attributes matching Name are retrieved.
If the -e RegExp parameter is specified then just extended attributes matching the regular expression RegExp are retrieved. If neither -n or -e flags are specified all extended attributes are retrieved.
This command is not used to get ACLs. The aclget command is used to get ACLs.
Item | Description |
---|---|
-e RegExp | Specifies a regular expression to retrieve all extended attributes which match. The values are displayed in character format. |
-l | Specifies to get the extended attributes from the symbolic link itself rather than the file to which it is pointing. |
-n Name | Specifies the name of specific extended attributes to retrieve. The values are displayed in character format. |
-s | Displays only the names and not the values for the extended attributes. |
FileName | Specifies the file from which to read the extended attributes. |
Item | Description |
---|---|
0 | Successful completion. |
Positive integer | An error occurred. |
getea design.html
getea -n Approver design.html
getea -s design.html
getea -l design.html
/usr/sbin