pyslk.rename#
- pyslk.rename(old_name: str, new_name: str) int #
Rename a folder or file; moving is not possible
- Parameters:
old_name (
str
) – folder or file name (full GNS path)new_name (
str
) – new name (only name; no full GNS path)
- Returns:
return resource id of the renamed resource
- Return type:
int