If I have a folder with ID (obtained from URL): ABCD and I type in the search form of Google Drive:


I get all files & folders that reside in that folder.

However can I do something like parent:ABCD ids:EFGH,IJKL and get all files & folders within ABCD that have ids of EFGH & IJKL?

  • (Welcome.) Not really. You could try some query but I quite doubt it will work. Commented Nov 20, 2019 at 4:47
  • @marikamitsos It took me a while to find out how to say "or" in a search in Google Drive. However it works only for parameters listed in the advanced search form. Commented Nov 20, 2019 at 8:45

1 Answer 1


I could not find any information about searching by file's id, however I made the names unique throughout the specified folder in parent, so I can do:

(title:("Unique Folder Name 1"|"Unique Folder Name 2")) parent:ABCD

So it searches for files & folders that have exactly: Unique Folder Name 1 or Unique Folder Name 2 in their names and they are in parent with id ABCD.

  • Glad you worked it out. Still. I believe you could edit your question because you mention IDs and not Names of folders. Also, I think you may have an extra closing parenthesis in your search. Commented Nov 20, 2019 at 12:32
  • 1
    @marikamitsos My question is about still about IDs as they are guaranteed to be unique. But decided to add my findings as an answer (& did not mark it as accepted ^^), because it is some kind of a workaround. Removed the extra parenthesis, thank you! Commented Feb 5, 2020 at 10:43
  • Just tried it but for some reason it didn't work for me.... :( Commented Feb 5, 2020 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.