From mboxrd@z Thu Jan 1 00:00:00 1970 From: thunk2@arcor.de (Thomas Plass) Subject: Re: converting many ics files to a single org file Date: Mon, 10 Jun 2019 22:20:45 +0200 Message-ID: <23806.48029.154258.682523@AGAME7.local> References: <871s01o6j4.fsf@polytechnique.org> Reply-To: Thomas Plass Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42569) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haQuN-0005BQ-NU for emacs-orgmode@gnu.org; Mon, 10 Jun 2019 16:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haQn7-00072o-4f for emacs-orgmode@gnu.org; Mon, 10 Jun 2019 16:21:18 -0400 Received: from vsmx012.vodafonemail.xion.oxcs.net ([153.92.174.90]:47258) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1haQn6-0006wx-Um for emacs-orgmode@gnu.org; Mon, 10 Jun 2019 16:21:17 -0400 In-Reply-To: Your message of Monday, June 10 2019 16:32:15 (ID: <871s01o6j4.fsf@polytechnique.org>). List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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