seqexp

seqexp expands a sequence expression into a list of frame numbers. Useful for visualizing or debugging frame ranges in VFX/animation workflows.

Complements seqgen

Usage

seqexp SEQUENCE
  • SEQUENCE: Frame range or sequence expression (e.g., 1001-1050, 1-10x2).

Options

  • --comma-separate, -c: List frame numbers with comma separation. [default: space-separation]
  • --pad, -p: List frame numbers with zero padding, number of zeros to pad. [default: 0]
  • --long-list, -l: Long listing of frame numbers, one per line.
  • --version: Show version and exit.

Examples

Expand a simple range:

seqexp 1001-1005
  • Output: 1001 1002 1003 1004 1005

Expand a simple range with comma separation:

seqexp -c 1001-1005
  • Output: 1001,1002,1003,1004,1005

Expand a range with step:

seqexp 1001-1010x2
  • Output: 1001 1003 1005 1007 1009

Expand a complex sequence:

seqexp 1-5,10-12
  • Output: 1 2 3 4 5 10 11 12

Expand a complex sequence, with 4-digit padding and long listing:

seqexp -l -p 4 1-5,10-12
  • Output:
0001
0002
0003
0004
0005
0010
0011
0012