Displays the state of a file or folder. In case the argument given to the command represents a folder, it is possible to use the -r option to get the state of this folder plus all contained files and folders.
Syntax
Syntax |
STATUS [-r|-l] [-fFields] <folderItemPath> [[-s] [-d]] [-uf] |
Arguments |
|
[-r] |
If this option is specified and one of the path(s) is a folder, then the items under the folder will be visited recursively and the information on there state is displayed. |
[-l] |
Specifies that only those files which are on the local file system will be considered. |
[-fFields] |
Using this option you can specify the properties of the folder item(s) that have to be displayed. The fields that can be specified are:
|
<folderItemPath> |
The path to the item whose status you want. |
[-s] |
Using this option you can specify the field that is used as the basis for sorting the output. The fields that can be specified are the ones listed above. Sorting is in ascending order. |
[-d] |
Sort the output in descending order. |
[-uf] |
If this is specified, then the field values will not be truncated to fit into a given space. However, this may lead to output that is not easy to read. It is recommended that this is used only for scripting. |
Description |
Displays the state folder item. |
Example |
status -fLocalpath -fBranchSequenceNumber <Path> |
To display the status of the a.java file, execute
status a.java