View Single Post
Old 11-28-2011, 04:21 PM   #3
Utnapishtim
Junior Member
Utnapishtim began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2011
Location: Denmark
Device: Kindle 4NT
Quote:
Originally Posted by bonzi View Post
OK, I know that .mobi and .prc files I have laying around on my Kindles and PCs are not DRM-ed. However, I have quite a lot of .azw files that are result of Amazon conversion service, and probably one or two books bought from Amazon where the publisher opted to omit DRM.

Is there an easy way (as in something one can put into one's magic file for use by file command) to tell whether an azw file is DRM-ed or not?

Thanks!
It looks like you need to check every record in a mobi file order to check if it contains encrypted files, and I have no idea if you can make 'file' do that for you. There's a description of the format here: https://wiki.mobileread.com/wiki/MOBI
Utnapishtim is offline   Reply With Quote