Hi haertig,
I am now on my Calibre computer and was able to run the commands you so clearly laid out in your post.
Quote:
Here are my results.
$ du -sh .
52G .
$ find . -iname "*.azw3" -print | wc -l
177
$ find . -iname "*.azw3" -exec du -csh '{}' + | tail -1
2.4G total
$ find . -iname "*.epub" -print | wc -l
6632
$ find . -iname "*.epub" -exec du -csh '{}' + | tail -1
6.4G total
$ find . -iname "*.pdf" -print | wc -l
768
$ find . -iname "*.pdf" -exec du -csh '{}' + | tail -1
7.3G total
$ find . -iname "*.zip" -print | wc -l
2
$ find . -iname "*.zip" -exec du -csh '{}' + | tail -1
1.3M total
$ find . -iname "*.jpg" -print | wc -l
7606
$ find . -iname "*.jpg" -exec du -csh '{}' + | tail -1
169M total
$ find . -iregex ".*\.\(db\|json\|opf\)$" -print | wc -l
2171
$ find . -iregex ".*\.\(db\|json\|opf\)$" -exec du -csh '{}' + | tail -1
6.9M total
|
The numbers don't add up though. The first command shows I have 52G of stuff in the CalibreLibrary folder. But all the other numbers are much smaller and don't come close to 52G.
UPDATE: I've added other file types I see in Calibre's left-side bar:
Quote:
find . -iname "*.original_epub" -exec du -csh '{}' + | tail -1
1.5G total (193 files)
find . -iname "*.kfx*" -exec du -csh '{}' + | tail -1
29M total (kfx with an asterisk for both one .kfx file and seven .kfx-zip files)
find . -iname "*.djvu" -exec du -csh '{}' + | tail -1
70M total (17 files)
find . -iname "*.cbz" -exec du -csh '{}' + | tail -1
1.7G total (6 files)
find . -iname "*.azw" -exec du -csh '{}' + | tail -1
34M total (6 files)
find . -iname "*.mobi" -exec du -csh '{}' + | tail -1
373M total (216 files)
|
Still, all these additional file types don't add up anywhere close to 52 GB. What's going on?