Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Get File Names!

  1. #1
    Join Date
    Feb 2011
    Posts
    8

    Unhappy Get File Names!

    Hello,
    I am trying to use "Get File Names" to list file names of files in a local directory; but nothing works. the only parameters i set are (File or Directory) and (regular expression)
    first is set to my local directory and second set to *.unl; it does not work at all. what i did wrong?
    I am running the test on a windows 7 machine.
    Last edited by ranko; 02-06-2011 at 10:05 AM.

  2. #2
    Join Date
    Sep 2007
    Posts
    834

    Default

    Did you just type them, or did you add them to the grid below with the Add button?

  3. #3

    Default

    Be aware that the regex is not shell expansion. Meaning if you want to get for example [*.txt] the regular expression is [.*\.txt] (without the []).

    See also http://wiki.pentaho.com/display/EAI/Get+File+Names

  4. #4
    Join Date
    Feb 2011
    Posts
    8

    Default

    hi maxh,
    yes that was the problem, the regular expression it works fine now.
    thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.