From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-export-as-html-batch backup file Date: Wed, 27 Jun 2012 12:20:07 -0400 Message-ID: <8018.1340814007@alphaville> References: <1340812842.73600.YahooMailNeo@web163102.mail.bf1.yahoo.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjuye-0005ds-0p for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:20:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjuyX-00078c-NR for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:20:23 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:48104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjuyX-00071H-JF for emacs-orgmode@gnu.org; Wed, 27 Jun 2012 12:20:17 -0400 In-Reply-To: Message from Enda of "Wed, 27 Jun 2012 09:00:42 PDT." <1340812842.73600.YahooMailNeo@web163102.mail.bf1.yahoo.com> 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: Enda Cc: "emacs-orgmode@gnu.org" Enda 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: > > ----------------------------------------------------