rename#

barecat._api.Barecat.rename(old_path, new_path)[source]#

Rename a file or directory in the archive.

Parameters:
  • old_path (str) – Path to the file or directory to rename.

  • new_path (str) – New path for the file or directory.

Raises: