03-14-2012, 02:08 PM | #16 |
(he/him/his)
Posts: 12,145
Karma: 78325262
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), Fire HD 8
|
Given that it's a Python script, it's trivial to get that script to loop through a list of files. I haven't looked at Paul's script, but if you have problems getting it to work on multiple files, I'm confident that someone can help with that.
|
03-14-2012, 03:26 PM | #17 | |||
Grand Sorcerer
Posts: 5,883
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Check Kindle eBook DRM
Quote:
Quote:
Quote:
1. add multiple file capability, text file output and a gui. 2. add multiple file capability and make it a Calibre plug-in. Also distribute it in Tools. |
|||
03-14-2012, 04:08 PM | #18 |
Resident Curmudgeon
Posts: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The problem (as I see it) is a lot of people who have only really used a GUI get lost with a command line (CMD, Shell, etc.). What someone needs to do is give the OP a step-by-step including CDing to the correct directory where the eBooks live. Just giving the command to run won't help since the OP doesn't even know how to get to the proper directory.
|
03-14-2012, 04:31 PM | #19 |
Grand Sorcerer
Posts: 5,883
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Check Kindle eBook DRM
|
03-14-2012, 04:56 PM | #20 | |
The Grand Mouse 高貴的老鼠
Posts: 71,410
Karma: 305065800
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
On Windows or Linux, you'd have to write some kind of batch file wrapper. |
|
03-14-2012, 06:54 PM | #21 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
c:\drm check>drmcheck.py "c:\ebooks\*.*" but I guess that was wrong. Carol |
|
03-14-2012, 06:59 PM | #22 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
03-14-2012, 07:12 PM | #23 |
Grand Sorcerer
Posts: 5,883
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Check Kindle eBook DRM
|
03-14-2012, 07:21 PM | #24 |
Grand Sorcerer
Posts: 5,883
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Check Kindle eBook DRM
|
03-14-2012, 07:28 PM | #25 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Code:
echo off for %a in (c:\ebooks\*.*) do kindledrm "%a" >> out.txt echo on |
|
03-14-2012, 07:44 PM | #26 | |
Grand Sorcerer
Posts: 5,883
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Check Kindle eBook DRM
Quote:
First off, the command needs to be 'kindledrm.py' (forgot to mention this earlier). The redirect operator needs to be a single '>', not '>>'. When it is done the output text file only has the last of the processed file listed, so I assume that its re-writing the file on each pass of the loop instead of appending to it. |
|
03-14-2012, 07:46 PM | #27 | |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
> overwrites, >> appends. |
|
03-14-2012, 07:51 PM | #28 |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
|
03-14-2012, 07:57 PM | #29 | |
Grand Sorcerer
Posts: 5,883
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Check Kindle eBook DRM
Quote:
Anyway, now it works like a champ, This woke the decades old programming part of my brain, at least a tiny bit. |
|
03-14-2012, 08:08 PM | #30 | |
Wizard
Posts: 1,931
Karma: 5456284
Join Date: Nov 2010
Device: Kindle Paperwhite 2, iPhone, Kindle Fire HD 6
|
Quote:
C:\Users\Carol\DRM Check>drmcheck.py "c:\ebooks\%a" Traceback (most recent call last): File "C:\Users\Carol\DRM Check\drmcheck.py", line 211, in <module> sys.exit(main()) File "C:\Users\Carol\DRM Check\drmcheck.py", line 113, in main infileobject = file(infile,'rb') IOError: [Errno 2] No such file or directory: 'c:\\ebooks\\%a' What am I doing wrong. Carol |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DRM Check: Find out what DRM that ebook has got. | pdurrant | Workshop | 25 | 10-07-2014 03:49 AM |
.html ebook Security check me | Xabache | Other formats | 0 | 09-17-2011 02:14 AM |
How can you tell if the Kindle Store ebook has DRM? | rock | Kindle Formats | 3 | 12-14-2009 05:55 PM |
ShineBook Mobile eBook Reader announced in Germany, reads both DRM-prc + DRM-ePub ... | K-Thom | News | 11 | 12-12-2009 06:50 AM |
Please check ebook template | AlexBell | Workshop | 9 | 07-24-2009 02:12 AM |