cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Multiple File Pattern MAtches for On_Prem List Files

klandry
Deputy Chef II
Deputy Chef II

Is there a way to specify multiple filename matching patterns for the ON-PREM agent List Files in Folder function?
Example:

="ARP_CPRF_" + today.strftime("%Y%m%d") + "*.TXT"

OR

="Process*.TXT"

1 ACCEPTED SOLUTION

klandry
Deputy Chef II
Deputy Chef II

That won't work. Your suggestion just includes all .TXT files in the folder, and could have been stated as simply "*.TXT"
I was asking for way to specify multiple search patterns where one filter would include only files with a filename that included specific text (which didn't work).

I ended up going about it in a different way where I am filtering results in a different step to achieve what I need.

View solution in original post

2 REPLIES 2

shivakumara
Executive Chef I
Executive Chef I

Hi @klandry ,

Please try the solution below and let me know if it works for you.

On Prem file patterns.png

klandry
Deputy Chef II
Deputy Chef II

That won't work. Your suggestion just includes all .TXT files in the folder, and could have been stated as simply "*.TXT"
I was asking for way to specify multiple search patterns where one filter would include only files with a filename that included specific text (which didn't work).

I ended up going about it in a different way where I am filtering results in a different step to achieve what I need.