[Bug] Move file to same folder adds to file name 1

Steps to reproduce

  1. Execute the command “Move current file to another folder”
  2. Choose as folder the same folder as the file is currently already located

Did you follow the troubleshooting guide? [Y/N]


Expected result

Nothing changes

Actual result

The number ‘1’ gets added to the end of the file name. As if the file would be duplicated in the folder.


Obsidian version: v1.5.3
Installer version: v1.4.13
Operating system: Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 23.3.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information

It kind of make sense, though. In preparation of moving into the folder is checks whether there is a file of the same name already, and if so makes the file name unique by adding a number to it.

But you do also make sense, that they should perhaps check if the target folder is the same as the original folder, and just cancel the operation if they’re the same.

Yes, from a technical standpoint I see how this is happening. From a user standpoint this doesn’t make any sense.

will be fixed 1.5.11

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.