This Version naming would be very useful to me. I often have several versions of a file and remembering which is which is near impossible.
On 09/05/2018 10:58 AM, Jarkko Toivonen wrote: > Hi, > > Yes, I know about the "create unique filename" setting. I want to > export the images with the same name always, overwriting the old > export if it has been done earlier. In that kind of scenario the > $(VERSION) number would be nice to be added to the target storage path > because I don't want multiple exports of the same image with a running > number in the filename. > > I tried this kind of funny approach but the variables do not seem to > support nesting: > > Storage path: > * $(FILE_NAME)$($(VERSION/#0/)-_$(VERSION)) > Exported image filenames (version 1 is a virtual copy): > * Image$(1-_1).jpg > * Image$(-_0).jpg > > As you can see the result was not what was intended. What I was trying > there was that if the $(VERSION) is "0", then it is replaced with > empty string. And then if that result is empty, then use the default > instead that is "_$(VERSION)". > > -Jarkko > > On Wed, Sep 5, 2018 at 8:27 PM Patrick Shanahan <[email protected] > <mailto:[email protected]>> wrote: > > * Jarkko Toivonen <[email protected] > <mailto:[email protected]>> [09-05-18 13:19]: > > Hello all, > > > > I would like to add the version number to the exported image > file name with > > prefix "_" but only if the version is bigger than 0. For example > export > > image with file name "Image.jpg" if the version is 0 and > "Image_1.jpg" if > > the version is 1. The two images are exported from the same > original image, > > the version 1 is a virtual copy with different crop. > > > > Is that possible? I tried various experiments on the $(VERSION) > variable > > but could not make it to work. I use Darktable v2.4.4 on Linux > Mint 19. > > dt will do it for you, but... > > duplicate the original image withing dt > work the first instance and export > work the second instance and export > > you will find dt will store the second with the same filename as > the first > with and extension such as: > 180901_122534_dse_4709.jpg > 180901_122534_dse_4709_01.jpg > > > -- > (paka)Patrick Shanahan Plainfield, Indiana, USA > @ptilopteri > http://en.opensuse.org openSUSE Community Member > facebook/ptilopteri > Registered Linux User #207535 @ > http://linuxcounter.net > Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet > freenode > > ____________________________________________________________________________ > darktable user mailing list > to unsubscribe send a mail to > [email protected] > <mailto:darktable-user%[email protected]> > > > ____________________________________________________________________________ > darktable user mailing list to unsubscribe send a mail to > [email protected] ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
pEpkey.asc
Description: application/pgp-keys
