Pentaho

 View Only

 What is the best way to count the number of files in a folder that start with a particular letter (P)?

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
Rob Burgess's profile image
Rob Burgess posted 10-29-2019 03:52
Dean Flinter's profile image
Dean Flinter

The attached will do it. If you need it to be case sensitive, then remove (?i) in the regex and change the p to whatever case you are looking for

 

Don't forget to change the path to what folder you are looking at

Rob Burgess's profile image
Rob Burgess

Thanks Dean. That worked well.