Masking > Ruleset on files > files dinamically change them filename.

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi all,

I have a delimited files connection type in my masking environment. How can I use a file pattern to include a group of files without using known filename in advance? All files in my folder have filename that contains a date. Thus these filenames can change dinamically.

Thank you.
Gianpiero
Photo of Gianpiero Piccolo

Gianpiero Piccolo

  • 2,336 Points 2k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Karsten Stoehr

Karsten Stoehr, Employee

  • 870 Points 500 badge 2x thumb
Official Response
Hi,
When defining the rule set after you selected the connector you'll see a list of all files in that directory. Instead of selecting any of those files you can add a file name pattern instead. This pattern follows the rules of regular expressions(!), not the typical wildcards of the O/S. Example: .*.csv would retrieve all delimited files with extension ".csv".
Cheers,
Karsten