As mentioned, Terminal is located in the Applications -> Utilities folder. Double-click to open it (you may want to drag a copy to the Dashboard if you use it a lot).
By default, it will be pointing to the Users - WhateverYourUsernameIs directory.
To change directory in Terminal, just use the cd command - for example
cd documents
cd ebooks
When working on a book, I made a folder under documents called work and copied some of the scripts that Calibre 0.5.14 uses (right-click on Calibre, show package contents, navigate to Contents - Resources - Loaders to find them). I made a copy of the (in my case) rtf2lrf and lrs2lrf and lrf2lrs scripts and placed them in my work directory.
From there, all you have to do is make sure a copy of your ebook file is in the same directory and away you go...
In the Terminal window, I typed...
lrf2lrs myebook.lrf
...and the book exploded and disgorged its pictures and .lrs file.
A version of Python is already on the Mac in leopard.
Now, as for de-DRMing your books, your command is good. Taking your example, move the script and the book into your work directory and type...
script1 bookwithDRMname bookwithoutDRMname "Name" 12345678
(I think the quotes are only required to enclose anything with spaces in it).
When you are done, Cmd-Q to finish with Terminal.
I hope that is useful information for you.
Last edited by DanielCoffey; 07-21-2009 at 02:00 PM.
|