Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

List only the immediate subdirectories under the specified path

MNOP
Level 3
List only the immediate subdirectories under the specified path

Hello everyone,

I need your help with reading only the immediate subdirectories in a managed folder. Currently, I am using the code below, but it lists all the files, even those inside the subfolders. What I want is to display only the immediate folders and files in the folder. 

library(dataiku)
paths <- dkuManagedFolderPartitionPaths("folder_name")

 

Thank you in advance for your help.

0 Kudos
0 Replies