Google Drive is a great place for collaborating on documents and spreadsheets with co-workers. However, if you do not own that file or folder you’re working on, it can disappear as quickly as your co-worker.
There’s not a worse feeling than trying to beg a departed employee to transfer ownership of files to you before you lose access.
What can you do?
If you use the G Suite of products, the admin can fairly easily take ownership of Google files, but what about non Google-related files like pdfs, jpgs, txt, etc…?
This script creates a copy of all files and folders, giving you ownership of the copies. For non-collaborative documents like pdfs, these are as good as the originals. For collaborative documents like Google Sheets, you have a back up in case the original is lost or you could request your co-workers to use your version of the file.