As you got it working, it's good.
Anyway it's also possible to use similar script in web-browser console (F12 key), so here is my script, tested in Firefox. Edit the search link to filter activities…
You could delete all your activities, insure the default privacy setting in you account settings is what you want it to be, then upload all your activities again.
You could delete all your activities, insure the default privacy setting in you account settings is what you want it to be, then upload all your activities again.
C:\>python garmin_privacy.py --private
C:\>python garmin_privacy.py --filter activityType=running --public
I have a python script that I wrote the last time that someone asked for this.