blob: a567ee8c1d086a01f0c3aec436f02f93eb7b4c80 (
plain)
- #!/bin/sh
- # Depends: ical2html
- set -eu
- STARTDATE=$(date --date "1 week ago" +%Y%m%d)
- OUTDIR=events
- mkdir --parents "$OUTDIR/learn" "$OUTDIR/code" "$OUTDIR/use" "$OUTDIR/superteam"
- icalmerge ~/.calendars/_ruc_thoughtroam-learn/*.ics "$OUTDIR"/learn/learn.ics
- icalmerge ~/.calendars/_ruc_thoughtroam-code/*.ics "$OUTDIR"/code/code.ics
- #icalmerge ~/.calendars/_ruc_thoughtroam-use/*.ics "$OUTDIR"/use/use.ics
- icalmerge ~/.calendars/_ruc_thoughtroam/*.ics "$OUTDIR"/superteam/superteam.ics
- ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam kode" "$STARTDATE" P40D "$OUTDIR"/learn/learn.ics > "$OUTDIR"/learn/index.html
- ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam læring" "$STARTDATE" P40D "$OUTDIR"/code/code.ics > "$OUTDIR"/code/index.html
- #ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam brug" "$STARTDATE" P40D "$OUTDIR"/use/use.ics > "$OUTDIR"/use/index.html
- ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam fælles" "$STARTDATE" P40D "$OUTDIR"/superteam/superteam.ics > "$OUTDIR"/superteam/index.html
|