[Remind-Fans] Export one reminder date to iCal, so it can be attached to an email, for example
Matthias Beyer
mail at beyermatthias.de
Thu Jan 15 19:20:39 EST 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20150116/53d89701/attachment.pgp>
More information about the Remind-fans
mailing list