Id like to know if the following is possible as I can't seem to find any concrete way to do it online:
When Google Takeaway service uploads a new takeout-xxx.zip file to my Google Drive Takeaway folder, can a Google Drive script run to automatically extract that zip file and all contents to a folder within my Google Drive account in the cloud?
If possible, if anyone was able to provide some starter code that'd be awesome.
Many thanks
Yes, you can automatically extract zip file within Google drive by using 'ZIP Extractor'. Using ZIP Extractor you can choose which files in the zip file to extract after extracting the ZIP file, It can read ZIP files from Google Drive and extract their contents into Google Drive.
Here's a Official documentation for Zip Extrator: https://developers.google.com/drive/v3/web/examples/
Link below is a demo app for ZIP Extractor: https://github.com/googledrive/zipextractor