fs.lseqΒΆ
List the files in given path and look for sequences of files
This function lists the files in a given directory, and arrange them by sequence of similar files, so that files containing frame numbers are listed altogether. For instance, a directory containing:
- render_beauty_00001.png
- render_beauty_00002.png
- render_beauty_00003.png
- render_albedo_00001.png
- render_albedo_00002.png
- render_albedo_00003.png
The returned value is a table of { id, directory, base, ext, frames }, where
If path is a regular file, then lseq returns the file sequence for this file only.
Arguments:
path the path to the directory to list sequences
Return:
sequences The found sequences in the directory