Skip to content

Instantly share code, notes, and snippets.

@EnigmaCurry
Created December 5, 2010 00:55
Show Gist options
  • Select an option

  • Save EnigmaCurry/728652 to your computer and use it in GitHub Desktop.

Select an option

Save EnigmaCurry/728652 to your computer and use it in GitHub Desktop.
Remove empty books from calibre (books that have no formats available)
calibredb list -f title,author_sort,formats | grep ".*\[\]\W*$" | cut -d " " -f 1 | xargs -iXX calibredb remove XX
@desk7
Copy link

desk7 commented Mar 13, 2026

To find all empty books in the calibre gui, just search for pages:"=-1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment