Find a specific file inside a parent folder

Hi all,

I would need to find a document inside a parentfolder in google drive.

I exactly know the document name and parent folder, but there is the possibility that this doc is inside another folder. So, using find file and folder activity I want to filter by just searching this doc in the parent folder.

Do you know how can I do it?

Many thanks!

1 Like

Hey @Angel_Llull

You will need to follow an iterative approach here using Find Files & Folders

First search in the parent folder and see if file exists, If not retrieve all the Child folders from the Parent folder then repeat the same process until there is no child folders.

This may help finding the right File.

Hope that helps.

Thanks
#nK

1 Like

Thanks for the reply, but I could find the solution:

In find files & folders activity: “'”+folderID+“’ in parents and name contains '”+strvar+“'” and then choose the most recent one :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.