Flying high on iCal files
I’m responsible for taking out the trash. Yes, this is a cliché, I admit it. But it is like it is.
The problem with that isn’t the trash itself, but rather that I’m really bad with remembering dates. But luckily, my home town’s disposal company offers an iCal download of the pickup dates on their website. Neat.
However, the resulting file wasn’t quite meeting my needs. Especially:
- All pickup dates were all day events
- The dates didn’t have an alarm set
- We are using a seasonal contract for one specific trashcan, so that it is only picked up between march and november
So, I manually changed the events in the file to match my needs. Moved the all day events to timed events, added alarms to all events and removed unneeded events.
But, you know me. Manually doing things over and over again isn’t just my style.
However, a tool, that could easily modify a bunch of events in an ICS file, is either non-existent or very hard to find. I didn’t find one, anyway. So I wrote my own.
Announcing icarus, an iCal batch processor. I’m not so into Java, but I only found iCal4j to be a very good ICS implementation. So, grab a JRE and have fun with it.
I’ve already put all features in it, I currently needed, but it’s very open to new processors (more on that in the README) and I’m happy to accept pull requests. So, go ahead!
2 comments
Schreibe einen Kommentar Antworten abbrechen
Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.
Calendar
M | D | M | D | F | S | S |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Archive
- Januar 2024
- Dezember 2023
- April 2021
- März 2021
- September 2020
- Dezember 2019
- November 2019
- Oktober 2019
- Juli 2019
- Juni 2019
- Mai 2019
- April 2019
- März 2019
- September 2018
- August 2018
- Juli 2018
- März 2018
- Januar 2018
- Dezember 2017
- September 2017
- März 2017
- Februar 2017
- Januar 2017
- August 2016
- Mai 2016
- Dezember 2015
- November 2015
- August 2015
- März 2015
- Dezember 2014
- September 2014
- August 2014
- Juli 2014
- Februar 2014
- Oktober 2013
- September 2013
- August 2013
- Juli 2013
- Juni 2013
- Mai 2013
- April 2013
- November 2012
- Oktober 2012
- September 2012
- August 2012
- Juni 2012
- Mai 2012
- März 2012
- Februar 2012
- Januar 2012
- November 2011
- Juli 2011
- Juni 2011
- März 2011
- Februar 2011
- Januar 2011
- Dezember 2010
- November 2010
- April 2010
- Februar 2010
Hey, thanks for icarus! Funnily enough, I was looking for an iCal processor only to find out that you made icarus for exactly the same purpose I need it for. Soulmates or just Germans? There’s no way to add two alarms in one go, right? As a workaround, I run Icarus twice with the same iCal file to also generate an alarm for the morning (in case I forget the alarm on the eve of garbage day, or am just too lazy) – does the job!
Grüße!
Yeah, I think it’s a pretty German thing to do. 😂
No, Icarus was specifically designed with the Unix philosphy in mind. So you basically pipe the calendar to the first addAlarm and then to the second addAlarm.
Nice that you find it useful. 🥰
Grüße zurück!