2019-10-25

convert an ics file (exported from web calendar) as textual diary


  • sudo apt install python3-pip
  • pip3 install ics 
  • create the bash executable file, like this

se avete google

#!/bin/bash
wget -O diario.ics https://calendar.google.com/calendar/ical/[remote path]/basic.ics
python3 convert-ics.py > /home/[local path]/local-file.md

se avete nextcloud

wget -O diario.ics https://ecloud.global/remote.php/dav/calendars/[vostra user(ad esempio la mail]/personal/?export --user=[il vostro user, come prima]--password=[la vostra password]

See also here.


No comments:

Post a Comment

Blog Archive