Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

SCM list all project folder/structure inside a component

 Hi is this possible on scm command?

0 votes


Accepted answer

Permanent link
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

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,202

Question asked: Aug 13 '13, 11:28 p.m.

Question was seen: 4,840 times

Last updated: Aug 14 '13, 2:59 a.m.

Confirmation Cancel Confirm