Skip to content

Templater updates mtime on files moved between folders via file manager #1755

Description

@VitasLoWang

Plugin information (please complete the following information):

  • OS: Windows 11
  • Templater version: 2.20.5
  • Obsidian version: 1.12.7
  • Templater settings:

Describe the bug
I am making a new and better folder structer of my very old notes migrated from Evernote and moving them between folders one by one in Obsidian UI is tedious. So I decied to just use Total Commander, select a bunch and move the files. Unfortunately few seconds after the move the modify time of those files was updated to present! It did not happen for those which I moved in Obsidian UI before.
This does not happen when Templater plugin is disabled.

Expected behavior
don't update modify time of the files, because nothing was changed in them

Additional context
This happens regardless if there is a template assigned to that folder or not and regardless of the settings "Trigger Templater on new file creation"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions