Page 1 of 1

List of files in Project, better with wildcards

Posted: Fri Nov 08, 2024 9:33 am
by fierikit
Hi
i have to get a list (Array?) of all files in a Project; better if i can search with wildcards (*.cls or so on)
this command seams OK but i don't know where is the result
GetOperations.ProcessCommandGetWildcard(diskPathBase, New String() {"*.cls"}, getOptions)

after getting that list i have to, for each file:
- CheckOut
- modify
- checkin

tks in advance

Re: List of files in Project, better with wildcards

Posted: Mon Nov 11, 2024 8:51 am
by Tonya
Hello,

Thank you for reaching out in regards to your concerns. I have logged this as a feature request (#)20212) to be considered in an upcoming release.

Tonya

Re: List of files in Project, better with wildcards

Posted: Mon Nov 11, 2024 10:25 am
by fierikit
Thank you Sonya
for me the perfect solution will be to have 2 separated commands:
1) first get a list (Array?) of all files in the Repository for the Project; better if i can search with wildcards (*.cls or so on)
2) after get locally only that ones i desire
i explain: imagine i want to change in *.cls files all use of a specific code, but in 50 .cls files it is only in 4 .cls, is unuseful to get locally all 50
but anyway every solution you give me is appreciated

let me express another desire: you think the solution can arrive in which time? Is better for me to try a solution not involving Vault API?

have a nice day
Alberto

Re: List of files in Project, better with wildcards

Posted: Wed Nov 13, 2024 7:32 am
by Tonya
Hello again,

Can you please email support@sourcegear.com with additional details? Please provide us with as much information as you can in regards to your setup and goal so we can evaluate it to see if we have any better solutions.

Tonya