Renaming a folder

I’m using the code snippet from

This function will move a folder in a tag provider to a new folder

Since both paths are at the same node, the “Old_Folder” will be placed at the root of the provider, and the name changed, effectively renaming the folder.
tags = [’[default]Old_Folder’]
destination = ‘[default]New_Folder/’

Move the folder
system.tag.move(tags, destination)

The end result isn’t as expected

Tags > Old_Folder

Tags > New_Folder > Old_Folder

Tags > New_Folder

Ignition 8.11

Try it without the trailing slash on your destination.

Yeah, I’ve tried all the combinations of tags and destination with and without the trailing slash - Same result - it’s either hidden knowledge or broken