Re: [O] converting many ics files to a single org file

2019-06-20 Thread Alan Schmitt

On 2019-06-19 14:01, Robert Horn  writes:

The golang ical2org (https://github.com/rjhorniii/ical2org) 
definitely

does this.


It seems to have many features that I would use. Thanks!

Alan


signature.asc
Description: PGP signature


Re: [O] converting many ics files to a single org file

2019-06-19 Thread Robert Horn


The golang ical2org (https://github.com/rjhorniii/ical2org) definitely
does this.

-- 
Robert Horn
rjh...@alum.mit.edu



Re: [O] converting many ics files to a single org file

2019-06-11 Thread Alan Schmitt

On 2019-06-10 22:20, Thomas Plass  writes:

As per its docstring it's one file per invocation.  But the 
docstring

also lists:

$ cat in.ical | ical2orgpy - - > out.org

I haven't tried, but something like this might work (on 
Unixoids):


$ echo -n > out.org
$ for i in *.ical; do cat $i | ical2orgpy - - >> out.org; echo 
>> out.org; done


Thank you for the suggestion, I'll give it a try.

Best,

Alan


signature.asc
Description: PGP signature


Re: [O] converting many ics files to a single org file

2019-06-10 Thread Thomas Plass
Hello,

Alan Schmitt wrote at 16:32 on June 10, 2019:
: I've found this tool
: https://github.com/asoroa/ical2org.py but it's not clear if it can
: handle many files.

As per its docstring it's one file per invocation.  But the docstring
also lists:

$ cat in.ical | ical2orgpy - - > out.org

I haven't tried, but something like this might work (on Unixoids):

$ echo -n > out.org
$ for i in *.ical; do cat $i | ical2orgpy - - >> out.org; echo >> out.org; done

Regards

Thomas



[O] converting many ics files to a single org file

2019-06-10 Thread Alan Schmitt

Hello,

I'm using vdirsyncer to keep a local copy of my calendars. I would 
now

like to have them in org-mode, so I'm looking for a tool to do the
conversion. One important constraint is that, by default, 
vdirsyncer

generates one ics file for each event. I've found this tool
https://github.com/asoroa/ical2org.py but it's not clear if it can
handle many files.

Do you have suggestions for such a workflow? I could try to 
concatenate

the files, but I probably need a tool for that.

Best,

Alan


signature.asc
Description: PGP signature