Other Pages

Other Software/Code by Me

Unmaintained Software

$SW_DISPLAY_NAME icon

icalBuddy

icalBuddy is a command-line utility that can be used to get lists of events and tasks/to-do's from the OS X calendar database (the same one iCal uses).

→ See some usage examples

If you want to get icalBuddy's output displayed on your desktop, you should read my blog post about it.

Documentation

This is what the usage output of the program looks like:



USAGE: icalBuddy [options] <command>

<command> specifies the general action icalBuddy should take:

  'eventsToday'      Print events occurring today
  'eventsToday+NUM'  Print events occurring between today and NUM days into
                     the future
  'eventsNow'        Print events occurring at present time
  'eventsFrom:START to:END'
                     Print events occurring between the two specified dates
  'uncompletedTasks' Print uncompleted tasks
  'tasksDueBefore:DATE'
                     Print uncompleted tasks that are due before the given
                     date, which can be 'today+NUM' or any regular date
  'calendars'        Print all calendars
  'strEncodings'     Print all the possible string encodings
  'editConfig'       Open the configuration file for editing in a GUI editor
  'editConfigCLI'    Open the configuration file for editing in a CLI editor

Some of the [options] you can use are:

-V         Print version number (no <command> needed)
-u         Check for updates to self online (no <command> needed)
-sc,-sd    Separate by calendar or date
-f         Format output
-nc        No calendar names
-nrd       No relative dates
-npn       No property names
-n         Include only events from now on
-sed       Show empty dates
-uid       Show event/task UIDs
-eed       Exclude end datetimes
-li        Limit items (value required)
-std,-stda Sort tasks by due date (stda = ascending)
-tf,-df    Set time or date format (value required)
-po        Set property order (value required)
-ps        Set property separators (value required)
-b         Set bullet point (value required)
-ab        Set alert bullet point (value required)
-ss        Set section separator (value required)
-ic,-ec    Include or exclude calendars (value required)
-iep,-eep  Include or exclude event properties (value required)
-itp,-etp  Include or exclude task properties (value required)
-cf,-lf    Set config or localization file path (value required)
-nnr       Set replacement for newlines within notes (value required)

See the icalBuddy man page for more info.

Version 1.7.13
Copyright 2008-2010 Ali Rantakari, http://hasseg.org/icalBuddy


Source code is available in a Git repository (click here to show/hide):
 

Latest Version:

Version 1.7.13      →    Download
August 30, 2010

Changelog:

  • It's now possible to use some relative dates when using the eventsFrom:to: command argument (e.g.: icalBuddy eventsFrom:tomorrow to:"day after tomorrow").
  • It's now possible to specify a shift amount (i.e. number of days to add to or remove from) for relative dates (day before yesterday, yesterday, now, today, tomorrow or day after tomorrow) by adding +NUM or -NUM to the end (e.g. icalBuddy tasksDueBefore:yesterday-10).
 

Older Versions:

Show/hide older versions
 
Download v1.7.13

Copyright © 2008-2010 Ali Rantakari