[Remind-Fans] Remind, Growl, and Time-Based Reminders
Paul Pelzl
pelzlpj at eecs.umich.edu
Wed Aug 9 11:42:58 EDT 2006
On Wed, Aug 09, 2006 at 09:46:02AM -0400, John Shafer wrote:
> alias greprem='grep AT Reminders.txt > Run_Reminders.txt'
> alias growlrem="remind -z1 -k'growlnotify -s -t Reminder -m %s &' ~/
> Run_Reminders.txt &"
> greprem
> growlstills
>
> Explanation: the first line makes an alias called "greprem" that
> uses grep to search your reminders file for any lines containing the
> string 'AT' (mine is ~/Reminders.txt, just replace my file with the
> location of yours) and dumps the results into a new file called
> Run_Reminders.txt (again, you can call it whatever you like, just
> change the name).
If I understand what's going on here, I think this grepping business is
unnecessary. You are running remind in daemon mode, which means that
"only timed reminders are collected and queued" and "Remind also
re-reads the remind script when it detects that the system date has
changed" (according to the manpage).
In other words, you can launch a remind daemon that directly accesses
your reminders file, and It Just Works.
Paul
More information about the Remind-fans
mailing list