Recurse subdirectories
Posted: Sun Dec 21, 2003 10:28 am
Is there a command line option in Nconvert that allows recursing subdirectories?
Various discussion boards for XnView and related products
https://newsgroup.xnview.com/
No, but good ideahelmut 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.helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
Sorry not.helmut wrote:Is this possible with the current NConvert version? I still don't know how to do this.helmut wrote:Is there a command line option in Nconvert that allows recursing subdirectories?
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"
Thank you for the batch sample. This is what I've been looking for.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
There's Ingo's batch sample, now, which might do what I want (still have to check).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?
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?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"