Menu

Home

FHH

googalert Is a script bash design to add event from bash in your Google Calendar.

./googalert-0.1/googalert [options] <title> <message>

Options :
-a : Calendar to add event (default : default)
-c : specify config file (default : /etc/script_name.conf -/etc/googalert.conf-
then ~/.script_name.conf -~/.googalert.conf-)
-d : Size, in minutes, of event (default : 10)
-D : Debug mode
-e : Display xml of event an exit
-f : Author of entry (default : user login -fhh-)
-g : Display an example of config file and exit.
-h : This message and exit
-i : Ignore all config files (overwrite -g)
-l : Login google
-m : Mail of author (default : user_login@domaine -fhh@local.e-galaxie.org-)
-M : Add mail notification
-p : Password google
-P : Disable pop-up alert
-S : Disable SMS alert
-t : Timer, in seconds, to run alert (default : 30)
-v : Verbose mode
-w : Where ? location specified (default : hostname -gateway.local.e-galaxie.org-)
-z : Delta, in minutes, between declaration and event start (default : 5)

All defaults values could be modified in config file.
Default title can also be modified by config file (default title : "Event from hostname").

Examples :
> Create notification with default title and text "Text" :
./googalert-0.1/googalert "Text"

> Create notification with title "Title" and text in two lines :
./googalert-0.1/googalert "Title" "Text who can be write on
> multi lines"

> Display event as xml with a little text :
./googalert-0.1/googalert -e "Little text"

Project Admins:


MongoDB Logo MongoDB