Quote:
Originally Posted by kovidgoyal
It doesn't. You want to vacuum the db from the command line, just do:
calibre-debug -c "from calibre.library import db; db().new_api.vacuum()"
|
Not the answer I anticipated, I've always assumed it was same as Library Maintenance. Good job I checked I was going to suggest to someone they could use the calibredb check library command to do the vacuuming
Quote:
Originally Posted by kovidgoyal
|

So do I need to add calibre-debug lines to to my weekly housekeeping script, or will the next version of calibredb check-library do it for me?
Might as well ask: does calibredb check-library do the database integrity check (the step between the vacuum and the consistency check in the GUI version) ? If not could it?
BR