![]() |
#16 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
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.
|
![]() |
![]() |
![]() |
#17 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
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
|
![]() 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. ![]() |
|||
![]() |
![]() |
![]() |
#18 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
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.
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
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
|
![]() |
![]() |
![]() |
![]() |
#20 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,964
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
On Windows or Linux, you'd have to write some kind of batch file wrapper. |
|
![]() |
![]() |
![]() |
#21 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933
Karma: 5477576
Join Date: Nov 2010
Device: Kindle Paperwhite, iPhone, Kobo LC
|
Quote:
c:\drm check>drmcheck.py "c:\ebooks\*.*" but I guess that was wrong. Carol |
|
![]() |
![]() |
![]() |
#22 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
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
|
![]() |
![]() |
![]() |
![]() |
#24 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
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
|
![]() |
![]() |
![]() |
![]() |
#25 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
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 |
|
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
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
|
![]() 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. ![]() |
|
![]() |
![]() |
![]() |
#27 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
![]() > overwrites, >> appends. ![]() |
|
![]() |
![]() |
![]() |
#28 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933
Karma: 5477576
Join Date: Nov 2010
Device: Kindle Paperwhite, iPhone, Kobo LC
|
|
![]() |
![]() |
![]() |
#29 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,895
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
|
![]() Quote:
Anyway, now it works like a champ, ![]() This woke the decades old programming part of my brain, at least a tiny bit. ![]() |
|
![]() |
![]() |
![]() |
#30 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,933
Karma: 5477576
Join Date: Nov 2010
Device: Kindle Paperwhite, iPhone, Kobo LC
|
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 | Thread Starter | Forum | Replies | Last Post |
DRM Check: Find out what DRM that ebook has got. | pdurrant | Workshop | 30 | 10-28-2024 09:34 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 |