File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11# gcalcleanup
22### An easily modified Google Calendar Cleanup tool that can be ran locally via terminal
33
4+ > Note: The script will show you the results, and then ask you to proceed with deletion. It does NOT delete without permission first.
5+
46- [ Create a project on GCP] ( https://console.cloud.google.com/projectcreate ) if you don't have one already
57- You will likely need to [ enable the Calendar API] ( https://console.cloud.google.com/apis/library/calendar-json.googleapis.com ) for that project
68- Create an "Desktop App" [ OAtuh credential on GCP] ( https://console.cloud.google.com/apis/credentials/oauthclient )
1113- Modify the following lines
1214-
1315https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L22
16+
1417https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L55
18+
1519https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L57
20+
1621https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L60
1722
1823- Run the following
@@ -22,6 +27,10 @@ python gcalcleanup.py
2227
2328- The script will auto-generate a token.json file. If you are iterating with this script, sometimes you need to delete it as it stores scoping/permissions stuff and can hinder expected outcomes with code changes.
2429
30+ A successful run looks like this:
31+ <img width =" 1096 " alt =" Screenshot 2022-05-18 233222 " src =" https://user-images.githubusercontent.com/18519239/169220950-18189831-0c5a-4113-aa28-4e6f4c11870e.png " >
32+
33+
2534## Notes
2635If you have python errors, make sure you have python3 installed. If PATH isnt set, you can also try running:
2736``` python
You can’t perform that action at this time.
0 commit comments