Before when writing the developed pictures, I used to create a “converted” subfolder in the raw directory and then move the photos by hand. In this case the output directory was :
%p1/converted/%f
Then checking the tooltip on the output directory I realized that I could ask Rawtherapee to automatically put my output JPG directly in the correct directory one level higher with the %p2 variable.
The problem was that I did not pay attention and just used %p2 without %f.
In this case no error message is displayed and pictures end up in %p2/converted folder.
Now I changed to %p2/%f and pictures end up in the correct folder without the added “converted”.
I can’t reproduce @Pietro_Dolcini’s issue where /tmp/photos/convert/ is magically created when using template %p2, so I noticed no difference with the patch on my end.
Patch committed to dev. @Pietro_Dolcini if you compile yourself, then you can help verify that it’s fixed.
Now with the previous sequence I get as a result two pictures calles photos.jpg and photos-1.jpg.
In Rawtherapy interface the place where I should write %p2/%f is called “output directory” not “output file names” or maybe simply “output name” which makes it a little surprising that changes the name of the files. Maybe changing the name would avoid other users to make the same mistake as me.
Thank you very much to take the time to make the correction.