Files

Contents:


File Names

File names are parsed by breaking them into several components:

  • Path - Location within the file system.
  • Base - Name of the file.
  • Number - Optional frame number or sequence. The number may be padded with zeroes.
  • Extension - Type of file.

Examples:

File Name Path Base Number Extension
image.dpx image. .dpx
image0001.dpx image 0001 .dpx
image.1-1000.dpx image. 1-1000 .dpx
/scratch/image.1.tga /scratch/ image. 1 .tga

File Sequences

File sequences provide a convenient way to describe a collection of files containing frames numbers. For example, if you have 100 files named: render.1.tga, render.2.tga, render.3.tga, etc., you may refer to them as the file sequence: render.1-100.tga. Sequences may be a continuous range of numbers described by a start and end (separated by a dash), arbitrary numbers (separated by a comma), or a combination of the two.

Examples:

Sequence Frames
1-5 1, 2, 3, 4, 5
1,2,3,4,5 1, 2, 3, 4, 5
1,3-5 1, 3, 4, 5
5-1 5, 4, 3, 2, 1
0001-0005 1, 2, 3, 4, 5