I got some db files automatically backuped to my google drive. The backup routine adds the new db files (.lxdb) to a specific folder and removes the older ones.
On Google Drive the deleted files end up in the trash, quickly using up GBs of Drive space.
There are GA scripts to empty the trash periodically, however, I just want to remove that certain filetype, since it makes sense to keep all the other files in trash for security reasons.
function DeleteTrashedFiles(){
Drive.Files.emptyTrash();
};
However, whats a state of art way to request for an array of all the .lxbd files IN TRASH and then remove them? (better not by cycling through all the GD Files)