View Single Post
Old 05-09-2012, 04:08 PM   #1
zynster
Junior Member
zynster began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2012
Device: Kindle
Removing files of zero size in Calibre

Hi everyone,
I've just found this site, hopefully it can help with the problem I'm having.

I was messing around with my calibre and managed to import a number of .mobi files that are zero bytes in size. They now appear in my calibre database. Does anyone have a good way of removing them from the command line.

I've tried

calibredb list -s size:=0 --with-library /data2/media/calibre/ | calibredb remove

The first command lists the zero size books correctly but the second part gives out saying that I need to specify the books to be removed. Has anyone come across this before.

BTW I'm using version (calibre 0.8.35)

Thanks.

Last edited by zynster; 05-09-2012 at 04:13 PM.
zynster is offline   Reply With Quote