Batch decode cr2s into separate folders using the same profile

rawtherapee

#1

Hello, I have been reading the documentation but it still seems a bit difficult to me, I bet you guys know how to exactly do this:

I have a folder with many subfolders in which there are lots of cr2 files. I would like to batch process all those cr2 files with the same profile and save them to tiff into another subfolder keeping the original folder tree structure; something like this:

I have:

C:\RAW\Folder1\Take1\Folder1_Take1_####.cr2
C:\RAW\Folder1\Take2\Folder1_Take2_####.cr2
C:\RAW\Folder1\Take3\Folder1_Take3_####.cr2
C:\RAW\Folder2\Take1\Folder2_Take1_####.cr2
C:\RAW\Folder2\Take2\Folder2_Take2_####.cr2
C:\RAW\Folder3\Take1\Folder3_Take1_####.cr2
(…)

…and I want all those cr2s to be processed using the profile that I have in another folder and saved in here:

C:\PROCESSED\Folder1\Take1\Folder1_Take1_####.tif
C:\PROCESSED\Folder1\Take2\Folder1_Take2_####.tif
C:\PROCESSED\Folder1\Take3\Folder1_Take3_####.tif
C:\PROCESSED\Folder2\Take1\Folder2_Take1_####.tif
C:\PROCESSED\Folder2\Take2\Folder2_Take2_####.tif
C:\PROCESSED\Folder3\Take1\Folder3_Take1_####.tif
(…)

I have a lot of folders so ideally this would be done through commandline (rawtherapee-cli.exe)

Thanks!