I am attempting to get all my images and media files to 16 digit filenames, they are named with the following format: 4-digit year 2 digit month 2 digit day 2 digit 24-hour-hour 2 digit minutes 2 digit seconds 2 digit milliseconds.
Some of my media files have less than 16 digits, I want to pad the end of these files so they have 16 digits so that they sort as expected by name in whatever file browser I use.
Some of my media files came from devices that do not write milliseconds, yet could take multiple pictures per second, and thus have extraneous stuff like hyphen and digit to keep them from overwriting each-other.
Looking through the documentation and the forum, I have not seen a way to use padding the way I am looking to. The default behavior is to add zeros behind a given string, not after it. Am I missing something?
Here is what I have.
Code: Select all
{original.pad (16, padding = "0")}