GreenTools for G Suite has been updated to include a new function that will allow you to delete files (instead of moving them to the trash) from your G Suite account.
The new function is named #g4gdrive_delete(). All you need to pass is your Google ID and the File ID and the file will be deleted. For example:
#g4gdrv_setValue('id':'yourid@gmail.com');
#g4gdrv_setValue('file_id':'1Zs4bc3jueqwgw1uLbyo7C5_k_I5pXRfl');
rc = #g4gdrv_deleteFile(errorMsg);
This new feature can also easily be used to empty the trash for your account. Just sustitue the value "trash
" for the File ID (without quotes) and the trash will be emptied.
We do encourage customers to test these functions first and recovery of the files may be impossible, if not difficult.