Best answer

Google Drive Filename logic

  • 29 May 2020
  • 2 replies

Userlevel 7
Badge +9

Hello! I am trying to build a solution at the moment that requires the search of a filename in Google drive. 

The filename will be a duplicate filename and will exist in many places across the Drive e.g.

  • Customers > March > “Filename.txt” 
  • Root > Invoices > “Filename.txt”
  • Customers > June > “Filename.txt

I know I could do a bunch of tests to work this out, but I wondered - Does anyone know, off-hand which it will pick and what this is based on (e.g. Folder/File structure, Last created, Last updated etc)


Best answer by andywingrave 29 May 2020, 19:54

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +9

Alright fine. I tested it, and thought I’d share my findings. After an hour of trying everything I can categorically say that it will pull in the file that was last updated. 

Which works for my use case, so I’m happy


Userlevel 7
Badge +12

Nice work and thanks for sharing the result! 🙌