Thank you, it is not always what I want, but it is better than nothing :) Lorenzo
On Thu, Jun 15, 2017 at 7:48 AM, <[email protected]> wrote: > You can get last with ($ROLL_NAME), I don't think last N is currently > possible. > > > > Wed, Jun 14, 2017, at 22:22, Lorenzo Bossi wrote: > > Hi all, > > I have a question, does exist a way to get the directory base name > > containing the raw file when exporting photos? > > > > The reason is that I like to keep my photos organized like this > > /home/me/raw_photos/vacation-2017/1st-city > > /home/me/raw_photos/vacation-2017/2nd-city > > > > and export the post processed version in > > /home/me/photos/vacation-2017/1st-city > > /home/me/photos/vacation-2017/2nd-city > > > > Now, the problem is that if I use the target > > /home/me/photos/$(FILE_FOLDER/$(FILE_NAME) > > I export them in > > /home/me/photos/home/me/raw_photos/vacation-2017/... > > > > What I'd really like is a way to select only the last (or last N) > directory > > name. > > > > Thank you > > Lorenzo > > > > ____________________________________________________________ > ________________ > > darktable user mailing list > > to unsubscribe send a mail to darktable-user+unsubscribe@ > lists.darktable.org > ____________________________________________________________ > ________________ > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscribe@ > lists.darktable.org > > ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
