There seems an issue with RECURSION in NConvert, when there's more than one level depth..
It creates multiple unwanted folders.
I made a sample video showing the issue..
https://www.youtube.com/watch?v=yhew32kusug
(video is not listed, only accesible thru direct link)
Command sample:
Code: Select all
$ nconvert.exe -recurse -rflag decr -out jpeg -q 85 -no# -o "$\_workspace_\%.jxl" "D:\mdnava\Workspace_L\20241107 TEST\*.*"
If there are multiple folders with images, they convert successfully.
-- folder1-with-imgs/
-- folder2-with-imgs/
But if there is multi lever recursion, there's a problem, as multiple subfolders are created for each image file
-- folder1/
---- subfolder1-with-imgs/
---- subfolder2-with-imgs/
-- folder2/
---- subfolder3-with-imgs/
---- subfolder4-with-imgs/
Result sample
-- folder1/
---- subfolder1-with-imgs/
------ subfolder1-with-imgs/imagename1-folder/imagename1-folder/imagename1.jpg
------ subfolder1-with-imgs/imagename2-folder/imagename2-folder/imagename2.jpg
------ subfolder1-with-imgs/imagename3-folder/imagename3-folder/imagename3.jpg
------ subfolder1-with-imgs/imagename4-folder/imagename4-folder/imagename4.jpg
------ subfolder1-with-imgs/imagename5-folder/imagename5-folder/imagename5.jpg
------ subfolder1-with-imgs/imagename6-folder/imagename6-folder/imagename6.jpg
------ subfolder1-with-imgs/imagename7-folder/imagename7-folder/imagename7.jpg
------ subfolder1-with-imgs/imagename8-folder/imagename8-folder/imagename8.jpg
---- subfolder2-with-imgs/
------ subfolder2-with-imgs/imagename1-folder/imagename1-folder/imagename1.jpg
------ subfolder2-with-imgs/imagename2-folder/imagename2-folder/imagename2.jpg
------ subfolder2-with-imgs/imagename3-folder/imagename3-folder/imagename3.jpg
------ subfolder2-with-imgs/imagename4-folder/imagename4-folder/imagename4.jpg
------ subfolder2-with-imgs/imagename5-folder/imagename5-folder/imagename5.jpg
------ subfolder2-with-imgs/imagename6-folder/imagename6-folder/imagename6.jpg
------ subfolder2-with-imgs/imagename7-folder/imagename7-folder/imagename7.jpg
------ subfolder2-with-imgs/imagename8-folder/imagename8-folder/imagename8.jpg
This becomes a huge problem when there are many image files..