Removes all events preceeding a given year from an .ics calendar file (the kind you can find e.g. in a Radicale-based CalDAV server).
./trim-calendar.sh Personal 2016 # removes all events starting before the year 2016 from the calendar stored in Personal.ics file
Thank you. This works great. I had just the ics file and no corresponding props file, so had to comment our corresponding backup command.