File module: File stat

Retrieve details about the file based on customized formatting options.

Example

Return the file owner:

space -m file /stat/ -- "Spacefile.yaml" "%U"

Exit status code is expected to be 0 on success.

Edit this page