This is partly true. You can use configuresandbox with a path option to limit the filter to a dedicated subpart of it.
To achieve your purpose you will need to combine a filter on path AND a filter on file name.
As Matthias said: have a look at the CLI documentation:
type:text|binary|memberrevlabellike:expression|anyrevlabellike:expression|any]
defines what project members are included in the Sandbox, transferring specific members from the Integrity Server to the Sandbox
directory when the Sandbox is created and controlling what members display in the Sandbox view. Changes to the scope definition are
automatically reflected in the Sandbox view. Members that no longer match the scope definition display deltas, but remain in the
Sandbox. Each member indicates that a working file exists and the member does not match the Sandbox scope. Performing a si
resync or si revert removes the members from the Sandbox. For a more detailed overview of scoped Sandboxes, see the si
createsandbox command. You can include or invert ! one or more of the following options:
--scope=attribute:name[=value] specifies project members with an attribute or an attribute set to a value. For example, include
members with --scope=attribute:Beta or do not include members with --scope=!attribute:OS=Windows. This option is
case-sensitive.
51 of 265
--scope=path:expression specifies project members that reside in a directory, relative to the top-level Sandbox, for example,
watch/lib/*. The specified path does not differentiate between subdirectories and subproject names. This means that you cannot
specify individual co-located subprojects.
For example, if you create a scoped Sandbox from the following top-level project:
/p1/project.pj
with the following subprojects and members:
//pp11//ssuubb11//apar.ojtexctt.pj //pp11//ssuubb11//bdbd..ttxxtt //pp11//ssuubb22//psrubo1j/eccct..ptjxt
specifying --scope=path:sub1 matches /p1/sub1/aa.txt and /p1/sub1/dd.txt or specifying --scope=path:*sub1
matches /p1/sub1/aa.txt, /p1/sub1/bb.txt, /p1/sub2/sub1/cc.txt, and /p1/sub1/dd.txt.
Note: If the client OS is a case-sensitive file system and the database repository on the server is case-sensitive, the --
scope=path:expression and --scope=name:expression options are case-sensitive. Otherwise, these options are case-insensitive.
--scope=name:expression specifies project members with a name or file extension. A name is only valid for a file name, not a leading
directory prefix. For example, include members with --scope=name:Readme.txt or do not include members with --
scope=!name:*.java.
--scope=memberrevlabellike:expression specifies project members with a label at member revision. For example, include
members with --scope=memberrevlabellike:TEST or do not include members with --scope=!memberrevlabellike:TEST.
This option is case-sensitive and accepts wildcards (* and ?)
--scope=anyrevlabellike:expression specifies project members with a label at any revision. For example, include members with
--scope=anyrevlabellike:PROD or do not include members with --scope=!anyrevlabellike:PROD. This option is casesensitive
and accepts wildcards (* and ?)
--scope=type:binary|text specifies project members that are a binary or text archive type. For example, include members with -
-scope=type:binary or do not include members with --scope=!type:text.
--scope=any specifies all project members. This is the default setting.
Using Logical Operators to Define Sandbox Scope
You can also combine Sandbox scope selections using logical AND or OR operators, and invert Sandbox scope selections by preceding
each selection with a ! character. An AND operator is specified as a --scope option. For example, to transfer project members with the
member attributes Alpha AND Beta, specify --scope=attribute:Alpha --scope=attribute:Beta. An OR operator is specified
as a comma between values in a --scope option. For example, to transfer project members with member attributes Alpha OR Beta
OR GA, specify --scope=attribute:Alpha,attribute:Beta,attribute:GA. You can combine logical operators to create more
complex Sandbox scope selctions. For example, to transfer project members with member attributes Alpha OR Beta OR GA AND name
*.java, specify --scope=attribute:Alpha,attribute:Beta,attribute:GA --scope=name:*.java.
Tip: Using the si createsandbox and si configuresandbox commands, you can create and edit more complex Sandbox scope
definitions than the GUI using a combination of logical AND or OR operators; however, these definitions may not always be editable from
the GUI. If you attempt to edit a complex scope definition from the GUI, Integrity truncates the definition to what the GUI is capable of
displaying. If you attempt to edit a complex scope definition using the si configuresandbox -g/gui command, Integrity displays a
warning message that choosing to edit the scope definition removes the options the GUI is not capable of displaying