Quote:
Originally Posted by shighfield
Nick: That works great! I've only really tested the catagory part, but will beat this up for you as I'm converting a ton of books from LRF to HTML / IMP now.
Additions... What about a way to mass change a directory? ie: impmeta *.imp --cat "Fantasy" would set the whole shebang in the directory?
My end goal is to (under windows for now) click a button and be able to edit fields in IMP's from calibre, convert to IMP within calibre, etc.
|
That's easy, using windows
for command, place this in a batch file and pass it parameters --cat "Fantasy" (or %1 %2) etc:
Code:
for %%i in (*.imp) do impmeta "%%i" --cat "Fantasy"
If you execute this at the dos prompt without batch files, then use single % in place of the double %%.
Oh, and for recursively down into all subdirs, use:
Code:
for /r %%i in (*.imp) do impmeta "%%i" --cat "Fantasy"