nuke.localization.clearUnusedFiles

nuke.localization.clearUnusedFiles(pathPrefix='', olderThan=None) None

Clears unused files in the localization folder.

Parameters:
  • pathPrefix – Only clear files within this path.

  • olderThan – Only clear files older than this date. Must be a DateTime.

Returns:

None