A simple shell script for google drive files sharing option reset.
If you want to remove anyone who can access your files, you can :
- Select all files and folders in web GUI and change the sharing option by right click
- Revoke the sharing option of file using CLI one by one
But how about 1000 files + in your google drive?
Please install CLI for google drive first - gdrive
Run gdrive with a parameter to get the Google authentication code and then copy that to a browser windows. Paste back the verification code.
$ sh reset_gdrive_share.sh
A google drive CLI tool - gdrive is only dependence used in this project
MIT