Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Determine if any file exists in a directory?

  1. #1
    Join Date
    Nov 2017
    Posts
    11

    Default Determine if any file exists in a directory?

    Hi,

    How can I determine if any file with a given extension (i.e. *.csv) exists within a directory? It looks like "File exists" requires a specific file name. Or am I missing something?

    Thanks,

    Burnie

  2. #2
    Join Date
    Nov 2009
    Posts
    688

    Default

    You can use "Get File Names" step for that.

  3. #3
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    If the test should be done on the job level, try Check-If-Folder-Is-Empty.
    So long, and thanks for all the fish.

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.