Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2025, 12:57 PM   #1
Bytecrawler
Junior Member
Bytecrawler began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2025
Location: Seattle
Device: Calibre
Identify DRMed Books in Calibre

I have well over five thousand ebook files (including duplicates) accumulated over 25+ years. I went though a DRM removal exercise about 15 years ago and decrypted most of the books I had then (keeping the originals), but over the years, files and folders have gotten mixed up and now I can't tell what is still encrypted and what isn't. Any of the old books that weren't decrypted are now useless - I don't have the keys or credentials any more - but I need a way to sort what is encrypted from what isn't.
I've tried loading all the files into Calibre and letting it tell me what is unreadable. In some cases, I can see right away since there is no metadata at all and the Title column just shows the file name. But for many of them, I do see metadata and the only way to know the file is still encrypted is to open it and let the reader throw an error. Does anyone have an idea how I can identify the encrypted files without opening every one of them (I suspect there is well over a thousand). The idea would be a plugin or something similar that would give me a new column with a DRM flag, but I'm open to just about any suggestion including using some other program to scan the files.
Bytecrawler is offline   Reply With Quote
Old 02-27-2025, 01:03 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,897
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quality Check can identify DRM'd ePubs. Not other formats sadly.
ownedbycats is offline   Reply With Quote
Advert
Old 02-27-2025, 02:16 PM   #3
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,914
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Linux can use the file command.
It's been possible since NT 4.0 to enable running Linux commands on Windows, though the things to enable it change.

This lists info on all files ending in .azw3
Code:
someone@shoebox-7050:~/some_files/eBooks_bought$ file *.azw3
A Baffling Murder at the Midsummer Ball (A Dizzy Heights Mystery).azw3:                                        Mobipocket E-book "A Baffling Murder at the Midsummer Ball", 685533 bytes uncompressed, version 8, codepage 65001, encrypted (type 2)
A BODY ON THE BEACH.azw3:                                                                                      Mobipocket E-book "A BODY ON THE BEACH a gripping Welsh crime mystery full of twists", 1246140 bytes uncompressed, version 8, codepage 65001
Above the Bay of Angels.azw3:                                                                                  Mobipocket E-book "Above the Bay of Angels", 700687 bytes uncompressed, version 8, codepage 65001, encrypted (type 2)
A Cat's Guide to Bonding with Dragons.azw3:                                                                    Mobipocket E-book "A Cat\342\200\231s Guide to Bonding with Dragons 6x9: Dragoncat Book 1", 554195 bytes uncompressed, version 8, codepage 65001, encrypted (type 2)
Can be redirected via filter for "encrypted" to a text file.

Some mobi ones. Only one is encrypted.
Code:
*.azw
Christmas Classics Cookbook.azw:                 Mobipocket E-book "Gooseberry Patch Christmas Classics", 55920 bytes uncompressed, version 6, codepage 65001
Dreamwalker (The Red Dragon Academy Book 1).azw: Mobipocket E-book "Dreamwalker (The Red Dragon Academy) (Volume 1)", 580741 bytes uncompressed, version 6, codepage 65001
The Funeral Photographer-1.azw:                  Mobipocket E-book "Number One: The Funeral Photographer", 49448 bytes uncompressed, version 6, codepage 65001, encrypted (type 2)
Quoth is offline   Reply With Quote
Old 02-27-2025, 02:55 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,005
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Code:
dir *.azw3 /S
is for DOS and Windows command
/S means also look in sub directories

dir /? gets you the help for ALL you can do with DIR (and it is a lot)
theducks is offline   Reply With Quote
Old 02-28-2025, 10:36 AM   #5
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 254
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
I'd put on some easy watching movies or podcasts, and just page through them. "v" to open the book, then quit the viewer, and "down arrow" to move to next book.
fogice is offline   Reply With Quote
Advert
Old 02-28-2025, 10:38 AM   #6
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,410
Karma: 238915019
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Or you could do a mass conversion. Books with DRM won't convert. So you won't have to press arrows all the time.
Sirtel is offline   Reply With Quote
Old 03-02-2025, 07:36 AM   #7
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,078
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by Sirtel View Post
Or you could do a mass conversion. Books with DRM won't convert. So you won't have to press arrows all the time.
The 'Count Pages' plugin will do for that as well. It won't give a pagecount for DRMed books.
mbovenka is offline   Reply With Quote
Old 03-02-2025, 08:55 AM   #8
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,914
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
Code:
dir *.azw3 /S
is for DOS and Windows command
/S means also look in sub directories

dir /? gets you the help for ALL you can do with DIR (and it is a lot)
Does that tell you about the files content? I thought it only listed, like "ls" on UNIX/Linux. The "file" command isn't a directory listing command, though it can do that.
Quoth is offline   Reply With Quote
Old 03-02-2025, 10:01 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,005
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Quoth View Post
Does that tell you about the files content? I thought it only listed, like "ls" on UNIX/Linux. The "file" command isn't a directory listing command, though it can do that.
I thought they just wanted an inventory of AZW3 (or any other type files) to run other tests on.
theducks is offline   Reply With Quote
Old 03-02-2025, 11:26 AM   #10
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,914
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
I thought they just wanted an inventory of AZW3 (or any other type files) to run other tests on.
Ah, yes, I see. Coffee shortage.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search for DRMed books Kleki Library Management 2 06-04-2020 04:29 PM
Changing Covers on DRMed books JamieLynn832002 Library Management 1 12-29-2012 04:00 PM
Filtering DRM from non DRMed books. m1dlg Library Management 4 11-05-2012 03:43 AM
How does the K3 identify books? JimND Amazon Kindle 5 02-24-2012 10:36 AM
non-DRMed PRC books identifed as having DRM modkindle Calibre 10 05-26-2010 07:25 AM


All times are GMT -4. The time now is 07:37 AM.


MobileRead.com is a privately owned, operated and funded community.