Hey folks,
I have an apps scrip that does this and would like to confirm the right command in gam adv
I want to get a list of all files (docs/sheets/slides) that have not been modified in X days. I have seen
this example for 90 days and csv and it is the only reference in the docs to
querytime parameter.
As an example, in Drive I can see a .jpeg file that was lastModified July 29th 2021, I want this file to be printed after I run my query, I am attempting using this command
gam user <User Email Address> print filelist querytime1045d -1045d query "mimeType = 'image/jpeg' and lastModified < '#queryTime1045d#'" fields id,name,createdtime,modifiedtime
but have been getting invalid query errors
the 1045d I figured days from July 29th 2021 - Today
and the query
lastModified is just a shot in the dark, also tried with
modifiedtime
Any pointers would be super helpful, thank you in advance!