
I have a sequence of files with scrambled numbers and I need to batch convert it to a new ordered sequence of files with number padding(e.g: frame0017, frame01, frame012 -> frame001, frame002, frame003).
Any ideas of what parameter/variable is used to create a padded sequence number in Houdini Command Line?
This is what I have so far:
for %i in (*.*) do ren %i newname%XXXX%~xi
I am trying various syntax in %XXXX as I can't find the padded sequence option.
Any ideas or tips are welcome.
Thanks in advance.