On 2015-Sep-06, J Albrecht wrote with possible deletions: > Assuming that in my case, $(FILE_FOLDER) is actually “Sept15_Bike\ > Courier”, I’ve entering (again) the following: > > /$(FILE_FOLDER)/$(FILE_FOLDER)_RAWconversion/$(FILE_NAME) > > > Whereas I desire the following structure under $(File_Folder): > > Sept15_Bike\ Courier_RAWconversion/HVI_8892.png > > I actually get the following, all under $(File_Folder): > > /Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike\ > Courier/Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike\ > Courier_RAWconversion/HVI_8892.png > > Here’s the strange thing: The SAME result occurs if I omit the initial > forward slash!
Hi, I think you just get what you specified, but maybe you don't understand the specifications exactly. In the path you enter the $(FOO) stuff is replaced by the value of the variable `FOO`,as documented here [1]. Every single occurrence of$(FOO) will be replaced by that value to form the final path. First: $(FILE_FOLDER)_RAWconversion/$(FILE_NAME) If $(FILE_FOLDER) is `/home/heviiguy/pics` and $(FILE_NAME) is `foo` then you'll get `/home/heviiguy/pics_RAWconversion/foo.png` when exporting to PNG. As you correctly observed, the `pics_RAWconversion` directory is in the same directory as `pics`, not what you wanted but correct. Second: $(FILE_FOLDER)/$(FILE_FOLDER)_RAWconversion/$(FILE_NAME) Again, the variables are replaced by their values. You have specified $(FILE_FOLDER) twice, so it's used twice. If the folder containing the input image [1] is /Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike Courier then both occurrences of $(FILE_FOLDER) in your path will be replaced by that, leading to /Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike Courier//Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike Courier_RAWconversion/HVI_8892.png Note that double slashes collapse, so it does not make any difference whether you add another leading slash or not. Also, the double slash in the middle is collapsed into one. What you probably need: Now if you have the raw file in /Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike Courier/HVI_8892.RAW then $(FILE_FOLDER) is /Volumes/heviiguy2ndPartition/Media/Pictures/Personal/Sept15_Bike Courier` and $(FILE_NAME) HVI_8892 having the extension stripped. You can put these back together, specifying $(FILE_FOLDER)/$(FILE_NAME) and DT will happily append the extension suitable for you export format, e.g., `.png`. Pro tip: Avoid whitespaces in your filenames, use `_` instead. Always. HTH Stefan ____________________ [1] http://www.darktable.org/usermanual/ch02s03s12.html.php -- http://stefan-klinger.de o/X /\/ \ ------------------------------------------------------------------------------ _______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users