Examples

This page provides examples using the vfx-seqtools command-line utilities with frame sequences. Replace file patterns and frame ranges with those relevant to your project.

Check Frames

Check all files in the current directory:

seqchk

Check files in the current directory matching "COS*" as a sequence:

seqchk "COS*"

See seqchk for even more examples.

Copy Frames

Copy frames 1001-1050 from render.####.exr to comped.####.exr:

seqcp render.####.exr comped.####.exr -f 1001-1050

Copy even frames in the range 1-10 from animtexture.@.exr to animoffset.@.exr, with a +10 frame offset:

seqcp animtexture.@.exr animoffset.@+10.exr -f 1-10x2

See seqcp for even more examples.

Do a Command

Run a shell command for each frame in a sequence, substituting @ with the frame number:

seqdo 'echo Processing frame @' -f 1001-1005

See seqdo for even more examples.

Expand a Sequence

List all frame numbers represented by a sequence expression:

seqexp 1001-1010x2
  • Expands to: 1001 1003 1005 1007 1009

See seqexp for even more examples.

Generate a Sequence

Create a sequence expression from a list of frames:

seqgen "1 2 3 4 5"
  • Output: 1-5

See seqgen for even more examples.

List Sequences

List all files in the current directory, grouping files by sequence:

seqls
  • Output example:
render.1001-1050#.exr
comped.1001-1050#.exr

See seqls for even more examples.

Rename a Sequence

Rename (move) a sequence of files to a new pattern:

seqmv oldname.####.exr newname.####.exr -f 1001-1020
  • Moves oldname.1001.exr to newname.1001.exr, etc.

See seqmv for even more examples.

Remove a Sequence

Delete a sequence of files from disk:

seqrm temp.####.exr -f 1001-1020
  • Removes temp.1001.exr to temp.1020.exr.

See seqrm for even more examples.