jade.utils.utils.rotate_filenames

jade.utils.utils.rotate_filenames(directory, ext)[source]

Rotates filenames in directory, recursively, to .1, .2, .etc.

Parameters:
  • directory (str)

  • ext (str) – file extension, ex: .log