ruby
ruby
google
How to auto-remove files from trash in Google Drive
Google Drive trash can quietly eat the space you free up when rotating files like CCTV recordings. A short Google Apps Script fixes it: an emptyTrash function, the Drive API service, and a time-based trigger that wipes the trash every hour, fully automatic and free.