* Archie Macintosh <[email protected]> [09-20-19 10:22]: > On Fri, 20 Sep 2019 at 14:49, Patrick Shanahan <[email protected]> wrote: > > > > * Archie Macintosh <[email protected]> [09-20-19 09:44]: > > > I'm sure the answer must be obvious, but I'm struggling to find the > > > right variable to use as a placeholder in 'Export selected' so that > > > the output filename has the form MonthName-Year (e.g. > > > September-2019.tif). > > > > > > I'd be grateful for advice about the right variable to use to insert > > > the month in the form of the full word for the month name. (Preferably > > > the EXIF month, but the current month would do if that's not > > > possible.) > > > > I alter *all* filenames on import, > > exiv2 \-k \-r %y%m%d_%H%M%S_:basename: \.\/*.{nef,jpg}' > > > > so export will appear as 190910_192003_aaa_3768.jpg and original was > > AAA_3768.NEF > > > > adjust as desired. > > > > > Thanks for the quick reply, Patrick, but that's not what I'm trying to do. > > I want to batch-output a set of edited files to a subfolder using > 'Export selected' in Lighttable, so that they appear as, for example, > September 2019.tif > September 2019_01.tif > September 2019_02.tif > etc > > I get close with > $(FILE_FOLDER)/<subfolder>/$(EXIF_MONTH) $(YEAR) # I insert the > actual name for <subfolder> > but EXIF_MONTH returns the numeric month not the name of the month.
so change the vars to reflect your desires, but the "Month" will be numerical. man exiv2 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
