oiiotool --frames and --framepadding give more wildcard flexibility.

When using oiiotool with numeric wildcards ("foo.#.exr"), rather than rely strictly on matching exiting filenames, the --frames option allows for explicit flexible frame sequence specification, and --framepadding overrides the default number of digits (with leading zeroes) for frame numbers. Examples of frame sequences now supported:

    10,11,13,14       Commas separate subsequences
    10-14             Range
    10-14x2           Range with step (matches 10, 12, 14)

Putting it all together, you can have a command like

    oiiotool --info --frames 10,18,20-30x5 --framepadding 3 foo.#.exr

would match foo.010.exr, foo.018.exr, foo.020.exr, foo.025.exr, foo.030.exr