* Specify file name on commandline in batch export
@ 2013-04-15 4:46 Wiskey 5 Alpha
2013-04-15 15:41 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Wiskey 5 Alpha @ 2013-04-15 4:46 UTC (permalink / raw)
To: emacs-orgmode
[-- 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
#+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 <orgfile
basename>.odt
Is there anyway to specify the output directory and filename at the time
that I call the function ?
thank you.
-Tim
[-- Attachment #2: Type: text/html, Size: 905 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Specify file name on commandline in batch export
2013-04-15 4:46 Specify file name on commandline in batch export Wiskey 5 Alpha
@ 2013-04-15 15:41 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-04-15 15:41 UTC (permalink / raw)
To: Wiskey 5 Alpha; +Cc: emacs-orgmode
Hi,
Wiskey 5 Alpha <wiskey5alpha@gmail.com> writes:
> 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 basename>.odt
>
> Is there anyway to specify the output directory and filename at the
> time that I call the function ?
Not that I can think of.
Best,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-15 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 4:46 Specify file name on commandline in batch export Wiskey 5 Alpha
2013-04-15 15:41 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.