Page 1 of 2
Folders and subfolders (Recursion)
Posted: Fri Nov 19, 2021 11:17 am
by marten
Hello,
Is it possible that nconvert looks in a folder and all his subfolders to convert images ?
I don't find a working syntaxs
Now i have : nconvert -overwrite C:\Users\Marten\Desktop\FOLDER1\*.*
But if i place in FOLDER1 a subfolder ( lets say FOLDER1A ) the images in folder1a are not converted.
What am i doing wrong ?
Thanks for support
Re: Folders and subfolder
Posted: Fri Nov 19, 2021 11:40 am
by xnview
Re: Folders and subfolder
Posted: Fri Nov 19, 2021 12:28 pm
by marten
Thanks for answer but i want to remain the same structure ..
I guess it's not possible
Re: Folders and subfolder
Posted: Fri Nov 19, 2021 1:27 pm
by cday
marten wrote: Fri Nov 19, 2021 12:28 pm
Thanks for answer but i want to remain the same structure ..
I guess it's not possible
Seemingly not using NConvert, although I thought possibly one level might be supported, but if it's any help the GUI software XnConvert supports recursion.

Re: Folders and subfolder
Posted: Fri Nov 19, 2021 4:55 pm
by xnview
perhaps it will be good to add recurse support???
Re: Folders and subfolder
Posted: Fri Nov 19, 2021 5:37 pm
by cday
xnview wrote: Fri Nov 19, 2021 4:55 pm
perhaps it will be good to add recurse support???
Certainly, when you have time, I think some users might well wish to use NConvert that way.
Re: Folders and subfolder
Posted: Sat Nov 20, 2021 12:34 pm
by marten
The Gui is not the solution here. I have a folder structure and it only convert the first folder. All the sub folders in the main folder are not converted.
So .. for the moment .. there is no way.. correct ?
Re: Folders and subfolder
Posted: Sat Nov 20, 2021 12:45 pm
by cday
marten wrote: Sat Nov 20, 2021 12:34 pm
The Gui is not the solution here. I have a folder structure and it only convert the first folder. All the sub folders in the main folder are not converted.
So .. for the moment .. there is no way.. correct ?
I was suggesting that, if it would be an acceptable solution, you could possibly perform the task you wish to perform using XnConvert, the cross-platform and very attractive GUI application.
Pending the addition of recursion to NConvert, which Pierre has indicated he will consider and you might wish to support?
Re: Folders and subfolder
Posted: Sun Nov 21, 2021 12:03 pm
by marten
i would support this.
Now in a command promt i make a new subfolder in folder IN and i get this :
Error: Can't open file (C:\Users\Marten\Desktop\TESTFOTO\IN\Nieuwe map)
Re: Folders and subfolder
Posted: Mon Nov 22, 2021 9:06 am
by xnview
marten wrote: Sun Nov 21, 2021 12:03 pm
i would support this.
Now in a command promt i make a new subfolder in folder IN and i get this :
Error: Can't open file (C:\Users\Marten\Desktop\TESTFOTO\IN\Nieuwe map)
Do you want to test the version with recurse?
Re: Folders and subfolder
Posted: Thu Nov 25, 2021 11:07 am
by marten
Hello Pierre,
yes please
Re: Folders and subfolder
Posted: Thu Nov 25, 2021 11:16 am
by cday
marten wrote: Thu Nov 25, 2021 11:07 am
Hello Pierre,
yes please
The latest
7.98 version incorporating the newly added recursion option was released yesterday for everyone...

Re: Folders and subfolders (Recursion)
Posted: Fri Dec 03, 2021 10:09 pm
by anfvan6
Thank you very much for the implementation recurse.
I found the small bug: if filename contains a dot (for example: IMG.6736.JPG or 04.12.2021.JPG), then file will be saved without extension (IMG.6736 or 04.12.2021).
Re: Folders and subfolders (Recursion)
Posted: Sat Dec 04, 2021 7:34 am
by xnview
anfvan6 wrote: Fri Dec 03, 2021 10:09 pm
Thank you very much for the implementation recurse.
I found the small bug: if filename contains a dot (for example: IMG.6736.JPG or 04.12.2021.JPG), then file will be saved without extension (IMG.6736 or 04.12.2021).
could you post the command used?
Re: Folders and subfolders (Recursion)
Posted: Sat Dec 04, 2021 10:46 am
by anfvan6
"C:\XnView\nconvert.exe" -out jpeg -ratio -rflag decr -resize longest 1024 -rtype lanczos -rmeta -overwrite -q 75 -opthuff -dct 3 -smoothingf 0 -subsampling 0 -o C:\temp\%% C:\temp