Tuesday, 11 November 2025

calcurse

Home page: http://calcurse.org/

vim .calcurse/conf (edit as desired)
format.inputdate=2
format.outputdate=%F: %a

# list 28 days appointments
calcurse -r28 --format-apt='- %S -> %E\n\t%m\n%N'

# list appointment for a day (dd/mm/yyyy)
calcurse -d 09/11/2026

# list appointment for number of days
calcurse --day 14
calcurse -d 09/11/2025 --day 7
calcurse --query --from 11/11/2025 --to 30/11/2025

# search (case sensitive) for appointment
calcurse --day 28 --search ai1wmbackup

# list todo
calcurse -t --format-todo '(%p) %m\n'

# export as ical
calcurse --export=ical > calcurse_export.ical

# email appointments 3 days ago to 4 days after today with fcron
 %daily * 1-23 /bin/bash -c 'calcurse -d $(date  --date="3 days ago" +%m/%d/%Y) --day 7 --todo --appointment | mail -s "[calcurse] upcoming appointment!" user@email.com

 

# Youtube link: https://www.youtube.com/watch?v=hvc-pHjbhdE

ccze

 ccze - log colorizer  sudo tail -f /var/log/syslog | ccze