emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wiskey 5 Alpha <wiskey5alpha@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Specify file name on commandline in batch export
Date: Mon, 15 Apr 2013 00:46:57 -0400	[thread overview]
Message-ID: <CAE89rnxN5r25UqWMw80=Ew20ixw0nJ4zYWW03jM6stqMQAypRg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

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
  emacs --batch --load=org.el --visit ${SRC} --funcall=org-export-as-odt

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 <orgfile

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

thank you.


[-- Attachment #2: Type: text/html, Size: 905 bytes --]

             reply	other threads:[~2013-04-15  4:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15  4:46 Wiskey 5 Alpha [this message]
2013-04-15 15:41 ` Specify file name on commandline in batch export Bastien

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:

  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='CAE89rnxN5r25UqWMw80=Ew20ixw0nJ4zYWW03jM6stqMQAypRg@mail.gmail.com' \
    --to=wiskey5alpha@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).