From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wiskey 5 Alpha Subject: Specify file name on commandline in batch export Date: Mon, 15 Apr 2013 00:46:57 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c232625d4dff04da5ef1ee Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URbJk-0004VZ-F9 for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 00:47:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URbJj-0007gm-JP for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 00:47:00 -0400 Received: from mail-qa0-f45.google.com ([209.85.216.45]:42998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URbJj-0007gb-EB for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 00:46:59 -0400 Received: by mail-qa0-f45.google.com with SMTP id g10so236324qah.11 for ; Sun, 14 Apr 2013 21:46:58 -0700 (PDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c232625d4dff04da5ef1ee Content-Type: text/plain; charset=UTF-8 Hello all, I am using org from 'org-plus-contrib-20130121' on emacs 24.1 What I would like to do is export an org-mode file to odt format from the commandline , but specify an 'output file name' . I currently call the export process like so #+BEGIN_SRC sh emacs --batch --load=org.el --visit ${SRC} --funcall=org-export-as-odt #+END_SRC this works well for exporting, but it will only output the file to the directory where the original org file is, and it will be named .odt Is there anyway to specify the output directory and filename at the time that I call the function ? thank you. -Tim --001a11c232625d4dff04da5ef1ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello all,
=C2=A0=C2=A0 I am using org from 'org-plus-contrib-20130121'= on emacs 24.1

What I would like to do is export an org-mode f= ile to odt format from the commandline , but specify an 'output file na= me' .=C2=A0 I currently call the export process like so
#+BEGIN_SRC sh
=C2=A0 emacs --batch --load=3Dorg.el --visit = ${SRC} --funcall=3Dorg-export-as-odt
#+END_SRC

this w= orks well for exporting, but it will only output the file to the directory = where the original org file is, and it will be named <orgfile basename&g= t;.odt

Is there anyway to specify the output directory and filename at t= he time that I call the function ?

thank you.

-Ti= m


--001a11c232625d4dff04da5ef1ee--