Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.