emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Enda <enda_k2@yahoo.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-export-as-html-batch backup file
Date: Wed, 27 Jun 2012 12:20:07 -0400	[thread overview]
Message-ID: <8018.1340814007@alphaville> (raw)
In-Reply-To: Message from Enda <enda_k2@yahoo.com> of "Wed, 27 Jun 2012 09:00:42 PDT." <1340812842.73600.YahooMailNeo@web163102.mail.bf1.yahoo.com>

Enda <enda_k2@yahoo.com> wrote:

> When I run:
> emacs --batch --visit=index.org --funcall org-export-as-html-batch
> 
> If index.html already exists a backup file index.html~ is created,
> however when I export as html within Emacs no backup file is
> created. How do I prevent a backup file being created in the above
> scenario?
> 

Try

emacs --batch --visit=foo.org --eval '(setq backup-inhibited t)' --funcall org-export-as-html-batch

Nick

> Best wishes,
> 
> Enda
> 
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------

      reply	other threads:[~2012-06-27 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 16:00 org-export-as-html-batch backup file Enda
2012-06-27 16:20 ` Nick Dokos [this message]

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=8018.1340814007@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=enda_k2@yahoo.com \
    /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).