|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#31 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,189
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
With the calibre library folder open use search for *.epub, etc, etc, will find all the epubs in the calibre library folder then use select all--right click--properties;will give you the total count of epub, etc, etc, plus the total size. Repeat until all ebook types have been checked. bernie |
|
![]() |
![]() |
![]() |
#32 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
|
Quote:
To be honest it's a bit of a mystery looking at what you've run. How big is metadata.db? |
|
![]() |
![]() |
![]() |
#33 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
I wrote Quote:
I hope I can figure out what mysterious stuff are taking up a mammoth amount of space in my calibrelibrary. |
||
![]() |
![]() |
![]() |
#34 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
You can look at your files, sorted largest to smallest, like this:
Code:
find . -type f -ls | cut -c48- | sort -rn | sed -e 's/\\//g' | pg The output from the above command is not pretty, but it is functional. Make sure to enlarge your terminal window to full screen, otherwise the lines may wrap making it a nightmare to tell what is what. |
![]() |
![]() |
![]() |
#35 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
find . -type f -ls | cut -c48- | sort -rn | sed -e 's/\\//g' | pg
bash: pg: command not found Is there a way to do this while ignoring the file extensions I've checked already (epub, cbz, mobi, pdf, db, etc)? |
![]() |
![]() |
![]() |
#36 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
Quote:
Code:
find . -type f -ls | egrep -v '\.(epub|cbz|mobi|pdf|db)' | cut -c48- | sort -rn | sed -e 's/\\//g' | more Nore: The -v option to the egrep command means "everything except". So the above command will list everything except epub's, cbz's, mobi's, pdf's and db's Last edited by haertig; 08-05-2020 at 09:36 PM. |
|
![]() |
![]() |
![]() |
#37 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
Update: I'm not with my Calibre computer right now, and plan to try this tomorrow. |
|
![]() |
![]() |
![]() |
#38 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,897
Karma: 31522252
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
Quote:
Code:
find . -type f -ls | egrep -v '\.(epub|cbz|mobi|pdf|db)' | cut -c48- | sort -rn | sed -e 's/\\//g' > filename.txt You might want to do a Google search for "Linux command line free ebook". There are many available. Lot's on Kindle Unlimited too, sometimes you will find them for free purchase there as well. Using pipes and redirects are basic to understanding the command line. |
|
![]() |
![]() |
![]() |
#39 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
all righty folks,
I finally got the breakdown per file extension: Quote:
|
|
![]() |
![]() |
![]() |
#40 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,076
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You could recover 1.5G by off loading Original_EPUB. (click the format in the tag browser: select all:rightclick Delete: remove specific format:<select>
IMHO these can usually go after you have created you FINAL clean EPUB (or AZW3) as always YMMV Your EPUB must have lots of (big) embedded graphics or embedded fonts to hit 36G with 7K books ![]() Code:
*.json 7,748 files, 29.4KiB <I only have ONE *.kepub 7,748 files, 2.3MiB *.kfx 7,748 files, 2.0MiB |
![]() |
![]() |
![]() |
#41 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Polish ePubs has a "losslessly compress images" option that may also help reduce the filesize.
|
![]() |
![]() |
![]() |
#42 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
theducks,
ah, yeah, that's odd. that the file count for all 3 disparate extensions are identical. what's going on, I wonder. |
![]() |
![]() |
![]() |
#43 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,076
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#44 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What's with the 7748 ,jason files?
|
![]() |
![]() |
![]() |
#45 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,076
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library File Structure for Books Exported to eBook Device | otta56 | Library Management | 7 | 04-15-2020 10:29 AM |
How to sync library after exported library | chantw0968 | Library Management | 3 | 10-30-2017 08:40 PM |
Books blank when exported | Joosca77 | Library Management | 2 | 06-10-2011 10:33 PM |
7000 books ! A new milestone for the MR Library ! | zelda_pinwheel | Announcements | 26 | 12-12-2008 11:46 AM |