GnuCash delete backup and log files

6

1

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: https://bugzilla.gnome.org/show_bug.cgi?id=601154

Vanuan

Posted 2010-10-20T19:14:25.250

Reputation: 129

Answers

7

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

Mehper C. Palavuzlar

Posted 2010-10-20T19:14:25.250

Reputation: 51 093

What about removing them after Gnucash exit? – Vanuan – 2010-10-27T17:21:48.417

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 – 2010-10-27T19:31:53.610