Quote:
Originally Posted by droopy
azw, azw3, azw4 are all identical in Calibre and in terminal.
The terminal command says
*.cbz 3 files, 1.7GiB
But Calibre shows me 6 CBZ files which, interestingly, also adds up to 1.7 GB.
Terminal says
*.kepub 7,812 files, 2.3MiB
But Calibre says 3 Kepubs that add up, coincidentally to a very-close 2.2MB.
Terminal says
*.kfx 7,812 files, 2.0MiB
But Calibre says 1 KFX at 2.0MB
KFX-zip number in terminal and Calibre are both 7 files.
Number of MBP files in terminal and Calibre are the same.
Mobi number matches up.
Calibre says 214 ODT files but Calibre says just one ODT file.
Original_epub is a match.
PDF is a match.
ZIP is a match.
|
Taking the *.kepub example above, where your command line result said you have 7812 of those, can you tell us the
exact command line that you used to come up with that number?
Earlier I suggested something like:
Code:
find . -iname "*.kepub" -print | wc -l
If you accidentally fat-fingered that and got something like this:
Code:
find . -iname "*" -print | wc -l
... then you would get a totally different (and massively incorrect) value returned.
The numbers from the find/wc command line should match exactly what Calibre tells you inside the app. Mine do. Make sure you are entering the command line correctly, and also that you are in the correct directory when executing the command. Although, I can't imagine you have a whole lot of *.kepub files on your computer outside of the Calibre directory, to give you such a largely incorrect number.
Just FYI, there are different parameters you can specify to the "wc" command that give different results (because they are counting different things). Make sure you are using the "-l" parameter. That is "dash lower-case-letter-ell".
Example (for my Calibre library):
Code:
$ find . -iname "*.azw3" -print | wc -l
3995
$ find . -iname "*.azw3" -print | wc -w
40580
$ find . -iname "*.azw3" -print | wc -c
312925
find . -iname "*.azw3" -print | wc
3995 40580 312925
One more thing, try all of the following variations of the command (below). Before running the variations, change the "azw3" I used on my system to "kepub" for use on your system. In normal situations all these variations should return the same number. By "normal" I mean that your files end in "kepub", not "KEPUB" or "KepUB". -iname means case-insensitive match, -name means case-sensitive. We are grasping at straws here, but if you do indeed see different results returned, that might give us the clue we need to figure out what is going wrong for you.
Code:
$ find . -iname "*.azw3" -print | wc -l
3995
$ find . -iname "*azw3" -print | wc -l
3995
$ find . -iname "*\.azw3" -print | wc -l
3995
$ find . -name "*\.azw3" -print | wc -l
3995
$ find . -name "*.azw3" -print | wc -l
3995
$ find . -name "*azw3" -print | wc -l
3995