emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: thunk2@arcor.de (Thomas Plass)
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: converting many ics files to a single org file
Date: Mon, 10 Jun 2019 22:20:45 +0200	[thread overview]
Message-ID: <23806.48029.154258.682523@AGAME7.local> (raw)
In-Reply-To: Your message of Monday, June 10 2019 16:32:15 (ID: <871s01o6j4.fsf@polytechnique.org>).

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

  reply	other threads:[~2019-06-10 20:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 14:32 converting many ics files to a single org file Alan Schmitt
2019-06-10 20:20 ` Thomas Plass [this message]
2019-06-11  8:25   ` Alan Schmitt
2019-06-19 12:01     ` Robert Horn
2019-06-20  7:51       ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23806.48029.154258.682523@AGAME7.local \
    --to=thunk2@arcor.de \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).