View Single Post
Old 08-04-2020, 03:33 PM   #27
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,203
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by droopy View Post
Hi haertig,
I am now on my Calibre computer and was able to run the commands you so clearly laid out in your post.


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.
This is my numbers, the numbers from running the commands do not add up, but the number I get by using the Nemo file manger do.

Check the epub numbers.

Numbers in bold are from nemo file manger.

Spoiler:
Code:
/Calibre Library$ du -sh .
5.1G

 5.4*GB

/Calibre Library$ find . -iname "*.azw3" -print | wc -l  
212

/Calibre Library$ find . -iname "*.azw3" -exec du -csh '{}' + | tail -1
289M	total

212 items, totalling 302.6*MB

/Calibre Library$ find . -iname "*.epub" -print | wc -l
3215
/Calibre Library$ find . -iname "*.epub" -exec du -csh '{}' + | tail -1
265M	total
  
3,215 items, totalling 2.7*GB

/Calibre Library$ find . -iname "*.pdf" -print | wc -l
12
/Calibre Library$ find . -iname "*.pdf" -exec du -csh '{}' + | tail -1
63M	total
 
12 items, totalling 65.6*MB



/Calibre Library$ find . -iname "*.zip" -print | wc -l
433
/Calibre Library$ find . -iname "*.zip" -exec du -csh '{}' + | tail -1
158M	total

433 items, totalling 163.8*MB

/Calibre Library$ find . -iname "*.mobi" -print | wc -l
197
/Calibre Library$ find . -iname "*.mobi" -exec du -csh '{}' + | tail -1
205M	total

197 items, totalling 214.0*MB

/Calibre Library$ find . -iname "*.jpg" -print | wc -l
3223
/Calibre Library$ find . -iname "*.jpg" -exec du -csh '{}' + | tail -1
110M	total

3,223 items, totalling 412.2*MB

/Calibre Library$ find . -iregex ".*\.\(db\|json\|opf\)$" -print | wc -l
3398
/Calibre Library$ find . -iregex ".*\.\(db\|json\|opf\)$" -exec du -csh '{}' + | tail -1
22M	total

metadata.db 15.0*MB
metadata_db_prefs_backup.json 52.5*kB
opf 3,396 items, totalling 14.2*MB

/Calibre Library$ find . -iname "*.original_epub" -print | wc -l
811
/Calibre Library$ find . -iname "*.original_epub" -exec du -csh '{}' + | tail -1
705M	total

811 items, totalling 736.9*MB

/Calibre Library$ find . -iname "*.azw" -print | wc -l
5
/Calibre Library$ find . -iname "*.azw" -exec du -csh '{}' + | tail -1
14M	total

5 items, totalling 13.6*MB

/Calibre Library$ find . -iname "*.lit" -print | wc -l
577
/Calibre Library$ find . -iname "*.lit" -exec du -csh '{}' + | tail -1
350M	total

577 items, totalling 364.9*MB

Edit:
Missed adding .rar

136 items, totalling 55.7*MB


My system:
Linux Mint 20 Cinnamon

bernie

Last edited by gbm; 08-04-2020 at 08:49 PM.
gbm is offline   Reply With Quote