View Single Post
Old 09-26-2011, 01:38 AM   #38
m0ngr31
Connoisseur
m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.m0ngr31 could sell banana peel slippers to a Deveel.
 
Posts: 66
Karma: 3056
Join Date: Dec 2010
Device: Kindle Paperwhite
Quote:
Originally Posted by jayrads View Post
m0ngr31,

Thanks for your work on this script.

Let me start by saying: I'm terrible at windows scripting...

My calibre library directory structure uses author name as sub-directories under my main library directory. I'm trying to make this script to run on all mobi files recursively below my main library directory. If I add recursive switch to both for loops, will it run this script on all my mobi files?

I would change both for loops from
Code:
('dir /b *.mobi')
to
Code:
('dir /b /s *.mobi')
As long as mobi2mobi.exe can handle full paths instead of relative, I don't see why this wouldn't work.

Any thoughts?

Thanks,

jayrads
Turns out that does work great
m0ngr31 is offline   Reply With Quote