emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-export-as-html-batch backup file
@ 2012-06-27 16:00 Enda
  2012-06-27 16:20 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Enda @ 2012-06-27 16:00 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

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?


Best wishes,

Enda

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-export-as-html-batch backup file
  2012-06-27 16:00 org-export-as-html-batch backup file Enda
@ 2012-06-27 16:20 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2012-06-27 16:20 UTC (permalink / raw)
  To: Enda; +Cc: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-27 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-27 16:00 org-export-as-html-batch backup file Enda
2012-06-27 16:20 ` Nick Dokos

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