Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to auto delete gnucash backup and log files?

Maybe at least I can specify another location for such files?

Edit I've found a related issue in project's Bugzilla:

share|improve this question

If you want them to be removed automatically, Gnucash can remove them after a configurable amount of time (Preferences > General > "Days to retain log files").

Another chance would be to write a batch file to remove .xac and .log files inside the relevant directory.

You should notice that the backup and log files have a format of <name>.YYYYMMDDHHMMSS.xac (or .log). These are backup (and log) files from your data file, <name>.

share|improve this answer
What about removing them after Gnucash exit? – Vanuan Oct 27 '10 at 17:21
Call a script to open GnuCash. Then have the script sit there running, waiting for GnuCash to close. Once it is closed, then delete the backup files. Instead of opening GnuCash directly, you open the script. (adjust the shortcuts) – Brian Oct 27 '10 at 19:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .