It's all about the answers!

Ask a question

SCM list all project folder/structure inside a component


John Bryan Sazon (341823) | asked Aug 13 '13, 11:28 p.m.
 Hi is this possible on scm command?

Accepted answer


permanent link
Surya Tripathi (65017) | answered Aug 14 '13, 2:58 a.m.
edited Aug 14 '13, 2:59 a.m.
You can try this command -
lscm list remotefiles component <component>  -r  <repository> -u <user> -P <password>

Help for: lscm list remotefiles

Purpose:
  Displays the files and folders that are in a remote workspace. Items are shown
  in depth-first ordering.

Aliases: rf, remote

Usage: lscm list remotefiles [options] <selector> <component> [remotePath]

  selector   - The workspace, stream, snapshot, or baseline (name[@repo],
               alias, or UUID[@repo]) whose remote files are to be listed.
               Specify one of --workspace, --snapshot or --baseline. By
               default the selector will refer to a workspace.
  component  - The component for which the remote files are listed.
  remotePath - The remote path that specifies the root of the list.

Options:
  --certificate arg          - The file that contains the user's login
                               certificate.
  --depth arg                - The maximum depth at which to query remote
                               paths. To list all paths, set the value of this
                               option to '-'.
  --smartCard                - Uses the connected smart card for
                               authentication.
  -b [--baseline]            - Indicates that the selector refers to a
                               baseline.
  -j [--json]                - Enables JSON output.
  -P [--password] arg        - The password for the repository.
  -r [--repository-uri] arg  - The URI that specifies the location of the
                               repository.
  -s [--snapshot]            - Indicates that the selector refers to a
                               snapshot.
  -u [--username] arg        - The username for the repository.
  -w [--workspace]           - Indicates that the selector refers to a
                               workspace or stream.
John Bryan Sazon selected this answer as the correct answer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.