nuke.getFileNameList

nuke.getFileNameList(dir, splitSequences=False, extraInformation=False, returnDirs=True, returnHidden=False) str

Retrieves the filename list.

Param:

dir the directory to get sequences from

Param:

splitSequences whether to split sequences or not

Param:

extraInformation whether or not there should be extra sequence information on the sequence name

Param:

returnDirs whether to return a list of directories as well as sequences

Param:

returnHidden whether to return hidden files and directories.

Returns:

Array of files.