List folders / sub folders

Hi,

is there es way to list folders or subfolders but not the files?

I would like to list just the subfolders, because they contain many ten thousand files and I am affraid listing all files just takes too long.

I tried to do it with the List Files node, but it doesnt return the folders. I tried the regex .*[/\\]$ but no success.

Any idea? Or would it be possible to optionally also list the folders?

Thanks!

Martin 

Hi,

the 'List Remote Files'-node of the 'KNIME File Handling Nodes'-extension with the '.*\/'-regular expression works (at least under linux).

Best,

Martin

1 Like

The 'List Folders' node in the Vernalis community plugin does just that

Steve

Thanks you very much for your help!

The solution with the remote connettion works very well.

The List Folders node is stil running but seems to do the job as well.

Martin