I have an Integrity Sandbox which I checked out without recursing into the subprojects. There are around 30 subprojects and among these one, thats only a big archive of builds.
As I want to use this sandbox regularly by a jenkins job and need to resync the data in the subprojects, I don't want to resnc the whole sandbox.
I want all subprojects but the one named Archive and I need this to be done by a cli command.
I already had a look into the reference for si resync and the only option that could fit my needs was --filter. Unfortunately in the docs, there is only a manual on how to exclude/include files via --filter=file:<expression>.
I tried by si resync -S C:\MySandbox\project.pj --recurse --filter=file:"!Archiv" but this does not exclude the Archiv folder.
Any hint what I got wrong here? Or another question: is it even possible to exclude directories with the cli?
Depending on the version of integrity you use there is a feature called "sandbox scope". The scope for a sandbox can either be set during sandbox creation or be changed for an already given sandbox.
You can use the following command to exclude de desired subproject and then the resync command will ignore this subproject
More info you can find on the PTC community
Command help
Create sanbox
Change sandbox configuration