View Single Post
Old 03-23-2008, 11:12 AM   #11
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by scruffy View Post
The only thing missing now is the option to do a recursive conversion, over a whole directory of files... the current batch file only does within a single folder/directory.

Give us the ability to mass convert via the GUI, since you are calling the commandline program with settings, just build the tree (given a directory) and call it for each matching file found (ie prc,mobi,pdb or all), same settings for each.
And how many different times are you going to do this? Anyway, here is a solution without using the GUI directly ...

As you know, the GUI is only a front-end for the command-line program. After done, the dos box/command prompt remains. Just copy the top of the screen where your calling options are and paste them into 'prc2imp.bat' in place of the '--verbose'.

Now, in the 'prc2imp.bat' file, place '/r' between 'for' and '%%i' and you'll get a recursive convert with YOUR options! Should look like this:

Code:
for /r %%i in (*.prc)  do mobi2imp.exe --verbose "%%i" "%%~ni"
You will end up converting all your files, recursively.

And how many different times are you going to do this?
nrapallo is offline   Reply With Quote