* converting many ics files to a single org file @ 2019-06-10 14:32 Alan Schmitt 2019-06-10 20:20 ` Thomas Plass 0 siblings, 1 reply; 5+ messages in thread From: Alan Schmitt @ 2019-06-10 14:32 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 498 bytes --] 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting many ics files to a single org file 2019-06-10 14:32 converting many ics files to a single org file Alan Schmitt @ 2019-06-10 20:20 ` Thomas Plass 2019-06-11 8:25 ` Alan Schmitt 0 siblings, 1 reply; 5+ messages in thread From: Thomas Plass @ 2019-06-10 20:20 UTC (permalink / raw) To: Alan Schmitt; +Cc: emacs-orgmode 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting many ics files to a single org file 2019-06-10 20:20 ` Thomas Plass @ 2019-06-11 8:25 ` Alan Schmitt 2019-06-19 12:01 ` Robert Horn 0 siblings, 1 reply; 5+ messages in thread From: Alan Schmitt @ 2019-06-11 8:25 UTC (permalink / raw) To: Thomas Plass; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 442 bytes --] On 2019-06-10 22:20, Thomas Plass <thunk2@arcor.de> 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting many ics files to a single org file 2019-06-11 8:25 ` Alan Schmitt @ 2019-06-19 12:01 ` Robert Horn 2019-06-20 7:51 ` Alan Schmitt 0 siblings, 1 reply; 5+ messages in thread From: Robert Horn @ 2019-06-19 12:01 UTC (permalink / raw) To: emacs-orgmode; +Cc: Thomas Plass The golang ical2org (https://github.com/rjhorniii/ical2org) definitely does this. -- Robert Horn rjhorn@alum.mit.edu ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: converting many ics files to a single org file 2019-06-19 12:01 ` Robert Horn @ 2019-06-20 7:51 ` Alan Schmitt 0 siblings, 0 replies; 5+ messages in thread From: Alan Schmitt @ 2019-06-20 7:51 UTC (permalink / raw) To: rjhorn; +Cc: emacs-orgmode, Thomas Plass [-- Attachment #1: Type: text/plain, Size: 214 bytes --] On 2019-06-19 14:01, Robert Horn <rjhorn@panix.com> writes: > The golang ical2org (https://github.com/rjhorniii/ical2org) > definitely > does this. It seems to have many features that I would use. Thanks! Alan [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-06-20 7:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-06-10 14:32 converting many ics files to a single org file Alan Schmitt 2019-06-10 20:20 ` Thomas Plass 2019-06-11 8:25 ` Alan Schmitt 2019-06-19 12:01 ` Robert Horn 2019-06-20 7:51 ` Alan Schmitt
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).