Start a new topic

New modifier vor Variables

Currently, variables can be modified with the variable name followed by a colon, followed by the modifier. Like {var:UC} to make the contents of 'var' all uppercase.

I use variables during ingest also from the IPTC template where a new modifier would be nice which can replace space characters with an underscore. This would allow me to have the {event} set to 'Hike the World' and ingest the contents with {datesort}_{event:lc:replacespace} into a folder which is named:

19981008_hike_the_world

Folder names with no whitespace are especially useful when handling folders cross platform and when using scripts to work with images.

Maybe a general character replacement modifier could be implemented with not much more complexity. This could be especially useful togheter with regular expressions.


1 Comment

This requests exists here.