lslocal
Lists the files in the workspace
APPLICABILITY
Attache (command)
SYNOPSIS
- lslocal [ -r·ecurse ] [ -mod·ified ] [ -nco ] [ pname...]
DESCRIPTION
The lslocal command lists the name of the files in the workspace.
PERMISSIONS AND LOCKS
Permissions Checking: No special permissions required. Locks: No locks apply.
OPTIONS AND ARGUMENTS
HANDLING OF DIRECTORY ARGUMENTS. Default: For each pname that specifies a directory element, lslocal lists the contents of that directory, but not the contents of any of its subdirectories.
- -r·ecurse
- Includes a listing of the entire subtree below any subdirectory included in the top-level listing. VOB symbolic links are not traversed during the recursive descent.
SPECIFYING THE OBJECTS TO BE LISTED. Default: If you don't specify any other options, all files in the current working directory are listed; all subdirectory entries are listed, but not the contents of these subdirectories.
- -mod·ified
- Restricts the listing to writable files only.
- -nco
- Restricts the listing to writable files corresponding to elements that are not checked out to the workspace view. This will help you to identify files you modified without checking them out, for example, while you were working disconnected from the view.
- pname...
- Restricts the listing to the specified files and/or directories. Wildcard patterns apply to the workspace contents; / (slash) denotes the root of the workspace. For example, /*.c refers to all of the .c files in the workspace root. (See the wildcards reference page for more information.) You can use either slashes or backslashes.
EXAMPLES
- List the files downloaded to the current workspace working directory.
\tmp\jo_agora_hw\src> lslocal
\tmp\jo_agora_hw
\tmp\jo_agora_hw\src
- List the writable files in the current working directory of the workspace that are not checked out.
\tmp\jo_agora_hw\src> lslocal -nco
- List the writable files in the specified directory of the current workspace.
\tmp\jo_agora_hw\src> lslocal -modified \tmp\jo_agora_hw\src
\tmp\jo_agora_hw\src\hello.c
- List all the files in the current workspace.
\tmp\jo_agora_hw\src> lslocal -recurse \
\tmp
\tmp\jo_agora_hw
\tmp\jo_agora_hw\src
\tmp\jo_agora_hw\src\hello.c
\tmp\jo_agora_hw\src\Makefile
\tmp\jo_agora_hw\src\hello.h
\tmp\jo_agora_hw\src\msg.c
\tmp\jo_agora_hw\src\util.c
SEE ALSO
get, ls
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.
|