Skip to content

Commit e2b4e49

Browse files
authored
Update README.md
1 parent d14de27 commit e2b4e49

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
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)
@@ -11,8 +13,11 @@
1113
- Modify the following lines
1214
-
1315
https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L22
16+
1417
https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L55
18+
1519
https://github.com/tuckcodes/gcal-cleanup/blob/c4bbbc33d1a84eab775f178c45a7fe81b2d31092/gcalcleanup.py#L57
20+
1621
https://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
2635
If you have python errors, make sure you have python3 installed. If PATH isnt set, you can also try running:
2736
``` python

0 commit comments

Comments
 (0)