Page 1 of 1

Recurse subdirectories

Posted: Sun Dec 21, 2003 10:28 am
by helmut
Is there a command line option in Nconvert that allows recursing subdirectories?

Re: Recurse subdirectories

Posted: Sat Jan 10, 2004 1:29 pm
by xnview
helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
No, but good idea :o

Posted: Sat Jan 10, 2004 1:36 pm
by helmut
I'm surprised that no one has asked for an option that allows recursing subdirs, before. In combination with wildcards, this would be very useful, I think. Other opinions?

Re: Recurse subdirectories

Posted: Wed Jan 05, 2005 8:35 pm
by helmut
helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
Is this possible with the current NConvert version? I still don't know how to do this.

Re: Recurse subdirectories

Posted: Sun Jan 09, 2005 7:50 pm
by xnview
helmut wrote:
helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
Is this possible with the current NConvert version? I still don't know how to do this.
Sorry not.
So you want to be able to do that:
nconvert -R -out bmp *.jpg to convert all jpg files in this folder and all subfolders?

Posted: Mon Jan 10, 2005 1:48 pm
by ingo
In a batch file under Windows XP I use

Code: Select all

for /R %%I in (*.*) do c:\programme\xnview\nconvert -npcd 2 -q 70 -size 256x256+0 -opthuff -rmeta -ctype grey -corder inter -out jpeg -o "J:\bild\%%~nI.jpg" -ratio -rtype lanczos -resize 800 800 "%%I" 
to convert all files including subdirectories

Posted: Mon Jan 10, 2005 10:23 pm
by helmut
ingo wrote:In a batch file under Windows XP I use

for /R %%I in (*.*) do c:\programme\xnview\nconvert -npcd 2 -q 70 -size 256x256+0 -opthuff -rmeta -ctype grey -corder inter -out jpeg -o "J:\bild\%%~nI.jpg" -ratio -rtype lanczos -resize 800 800 "%%I"

to convert all files including subdirectories
Thank you for the batch sample. This is what I've been looking for. :-)

Re: Recurse subdirectories

Posted: Mon Jan 10, 2005 10:28 pm
by helmut
xnview wrote:So you want to be able to do that:
nconvert -R -out bmp *.jpg to convert all jpg files in this folder and all subfolders?
There's Ingo's batch sample, now, which might do what I want (still have to check).

I think that a recurse subdirectry option in NConvert might be useful and powerful. But I'm not using NConvert a lot and this is just a guess.

Re: Recurse subdirectories

Posted: Wed Jan 25, 2012 1:28 pm
by tom*de
Hello, I will praise nconvert, first. Also version 6.00, thanks for this tool.
for /R %%I in (*.*) do c:\programme\xnview\nconvert -npcd 2 -q 70 -size 256x256+0 -opthuff -rmeta -ctype grey -corder inter -out jpeg -o "J:\bild\%%~nI.jpg" -ratio -rtype lanczos -resize 800 800 "%%I"
The script helps me a lot, but all files from all dirs will be converted into the same target dir. I would like to have the same directory-structure at the destination directory. Any idea?
Thanks Tom