Considerations when using "rename"

If using "rename" with FileStore (NS3), the following considerations apply.

A subdirectory and file in the same directory cannot have the same name.

A subdirectory and file in the same directory cannot have the same name. This applies regardless of the file type or extension. For example, a single directory cannot contain a subdirectory named “baseball” as well as a file entitled “baseball.mp4”. When renaming a file or symlink, ensure that the name of the object does not already apply to a sub-directory in the same location.