List only the immediate subdirectories under the specified path
Mohammed
Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 43 ✭✭✭
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.