View Single Post
Old 08-31-2012, 01:35 PM   #5
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Simple, unoptimized example for Linux (which doesn't even require to change the drmcheck.py file):

Code:
find . -type f -print0 | sort -z | xargs -0 -n1 -i sh -c 'echo -n "{}: "; python ~/kindle-touch/drm/drmcheck.py "{}"' | egrep -v '^$' | grep -v "Unknown ebook" > /tmp/list.txt
I don't know how this can be done with the Windows "shell" though.

Last edited by ixtab; 08-31-2012 at 01:39 PM.
ixtab is offline   Reply With Quote