Folders and subfolders (Recursion)
Moderators: helmut, XnTriq, xnview
-
- Posts: 8
- Joined: Fri Nov 19, 2021 11:10 am
Folders and subfolders (Recursion)
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
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
-
- Author of XnView
- Posts: 45862
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 8
- Joined: Fri Nov 19, 2021 11:10 am
Re: Folders and subfolder
Thanks for answer but i want to remain the same structure ..
I guess it's not possible
I guess it's not possible
-
- XnThusiast
- Posts: 4356
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Folders and subfolder
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.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

-
- Author of XnView
- Posts: 45862
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 4356
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Folders and subfolder
Certainly, when you have time, I think some users might well wish to use NConvert that way.
-
- Posts: 8
- Joined: Fri Nov 19, 2021 11:10 am
Re: Folders and subfolder
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 ?
So .. for the moment .. there is no way.. correct ?
-
- XnThusiast
- Posts: 4356
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Folders and subfolder
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.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 ?
Pending the addition of recursion to NConvert, which Pierre has indicated he will consider and you might wish to support?
-
- Posts: 8
- Joined: Fri Nov 19, 2021 11:10 am
Re: Folders and subfolder
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)
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)
-
- Author of XnView
- Posts: 45862
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Folders and subfolder
Do you want to test the version with recurse?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)
Pierre.
-
- Posts: 8
- Joined: Fri Nov 19, 2021 11:10 am
Re: Folders and subfolder
Hello Pierre,
yes please
yes please
-
- XnThusiast
- Posts: 4356
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Folders and subfolder
The latest 7.98 version incorporating the newly added recursion option was released yesterday for everyone...

-
- Posts: 12
- Joined: Sun Mar 22, 2020 2:11 pm
Re: Folders and subfolders (Recursion)
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).
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).
-
- Author of XnView
- Posts: 45862
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Folders and subfolders (Recursion)
could you post the command used?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).
Pierre.
-
- Posts: 12
- Joined: Sun Mar 22, 2020 2:11 pm
Re: Folders and subfolders (Recursion)
"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