SCM list all project folder/structure inside a component
Accepted answer
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.
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.