View Single Post
Old 01-30-2009, 04:27 AM   #224
banjopicker
Member
banjopicker began at the beginning.
 
banjopicker's Avatar
 
Posts: 24
Karma: 10
Join Date: May 2007
Device: PRS-505
Quote:
Originally Posted by Matt Horne View Post
Hi,

Been trying this out.. very impressed

I cannot get wildcards to work at all with comic2lrf (the one with calibre)

comic2lrf testcomic*.cbr

Is there anything wrong with the above command line ? I just get a error when it says it cannot find testcomic*.cbr

Cheers

Matt
For batch conversion of all cbz/cbr files in a directory you can make the following .bat file and run it in the directory of files that you want to convert. The reason it creates a temporary file is because using wildcards alone in the command line didn't handle paths with spaces in them very well. Hope this helps:

Code:
cls
dir /b *.cb* > dir.txt
For /F "tokens=* delims=" %%A in (dir.txt) Do call "C:\Program Files\calibre\comic2lrf.exe" "%%A" -w -l -a "Comic"
del dir.txt /F
banjopicker is offline   Reply With Quote