Hi remind community,

while I received several answers to my question (thank you all), I
managed to hack my own script.

It uses

    * remind (of course)
    * awk
    * rem2ics
    * fzf (for actual selection of the entry, others possible)
    * unix std tools (cut, head, tail)

You can find my script here[0].

Feel free to submit changes, add suggestions or general thoughts on
it.

[0]: https://gist.github.com/matthiasbeyer/84fb492164ea84e96a21

On 14-01-2015 16:11:57, Matthias Beyer wrote:
> Hi,
> 
> I'm trying to write a script which helps me exporting a particular
> appointment/date from remind to iCal, so this file can be attached to
> an email, for example.
> 
> Unfortunately, I fail hard on the "export one particular date" part.
> 
> My idea is to provide a `dialog` box to the user, where all dates are
> listed (maybe for the next month or so, with the ability to expand the
> list) where she/he may select one entry, which then gets exported to a
> file.
> 
> Can you help me for the following two steps:
> 
> 1) How to get a list of dates for the next n weeks in format
> 
>     <date> <description>
> 
> ? I know about `remind -s1`, for example, but the middle part
> ("* * * *" or similar) is hard to parse out for me)
> 
> 2) Now I have a date and a description. How to export this particular
> date to iCal?
> 
> -- 
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
> 
> Proudly sent with mutt.
> Happily signed with gnupg.



-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.

Attachment: pgpRF_fpIpLU6.pgp
Description: PGP signature

_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to