# Edit history in obsidian

**URL:** <https://forum.obsidian.md/t/edit-history-in-obsidian/43581>\
**Category:** Help\
**Created:** [September 17, 2022, 7:49pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581 "2022-09-17T19:49:29Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sal112358](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sal112358/32/33793_2.png) [@Sal112358](https://forum.obsidian.md/u/Sal112358)\
**Post date:** [September 17, 2022, 7:49pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/1 "2022-09-17T19:49:29Z")

</div>

Hi guys,  
I just wanted to ask: is there is a way to know all the recent edits done in a vault?  
Something like a log but only about the actions done by the user (ex. deleting or inserting text or files).  
Thanks for the help in advance!

---

<div class="post-metadata">

**Author:** ![I-d-as](https://forum.obsidian.md/user_avatar/forum.obsidian.md/i-d-as/32/59965_2.png) [@I-d-as](https://forum.obsidian.md/u/I-d-as)\
**Post date:** [September 17, 2022, 7:52pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/2 "2022-09-17T19:52:29Z")

</div>

There is a plugin called Recent Files. In terms of the Date Created and Date Modified metadata of the notes, I know that in the past the values are sometimes unreliable. There is another thread about that.

Good luck!

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [September 17, 2022, 7:53pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/3 "2022-09-17T19:53:41Z")

</div>

Not that I know of, but maybe there’s a plugin.

There is the core File Recovery plugin, and Obsidian Sync includes a sync log.

---

<div class="post-metadata">

**Author:** ![Sal112358](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sal112358/32/33793_2.png) [@Sal112358](https://forum.obsidian.md/u/Sal112358)\
**Post date:** [September 17, 2022, 8:03pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/4 "2022-09-17T20:03:42Z")

</div>

Thank you for the answer! Could you send me a link of the aforementioned thread? I don’t have any idea as of how to find it.

---

<div class="post-metadata">

**Author:** ![Sal112358](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sal112358/32/33793_2.png) [@Sal112358](https://forum.obsidian.md/u/Sal112358)\
**Post date:** [September 17, 2022, 8:05pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/5 "2022-09-17T20:05:31Z")

</div>

Thank you for the help!

---

<div class="post-metadata">

**Author:** ![rigmarole](https://forum.obsidian.md/user_avatar/forum.obsidian.md/rigmarole/32/29973_2.png) [@rigmarole](https://forum.obsidian.md/u/rigmarole)\
**Post date:** [September 17, 2022, 8:44pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/6 "2022-09-17T20:44:09Z")

</div>

I keep my Obsidian notes in a git repository. Using git or any other version control software would let you see these changes. Or fix problems.

I keep separate snapshots for my notes and my settings.

(I am not referring to the Obsidian Git plugin. I’ve never tried it. It can do automatic snapshots and upload to Github for you. I manage my repository myself through Tower Git Client.)

---

<div class="post-metadata">

**Author:** ![I-d-as](https://forum.obsidian.md/user_avatar/forum.obsidian.md/i-d-as/32/59965_2.png) [@I-d-as](https://forum.obsidian.md/u/I-d-as)\
**Post date:** [September 17, 2022, 9:07pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/7 "2022-09-17T21:07:10Z")

</div>

@Sal112358 Sure. Here they are: [Wrong Date Created Property](https://forum.obsidian.md/t/wrong-date-created-property/26645) and [Preserve Creation Dates when Using Obsidian Sync](https://forum.obsidian.md/t/preserve-creation-dates-when-using-obsidian-sync/24818). Not sure they will help a whole lot, which is why I didn’t previously link them. Also, I am not certain that these inconsistencies still occur. But, the basic thing to be aware of is that sometimes the creation and modified date of the note is not correctly maintained and preserved by Obsidian. Although it is not ideal, one workaround is to have YAML keys and values to store this built into your templates.

I hope this helps. Good luck!

---

<div class="post-metadata">

**Author:** ![Sal112358](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sal112358/32/33793_2.png) [@Sal112358](https://forum.obsidian.md/u/Sal112358)\
**Post date:** [September 18, 2022, 7:10am UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/8 "2022-09-18T07:10:21Z")

</div>

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Sal112358](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sal112358/32/33793_2.png) [@Sal112358](https://forum.obsidian.md/u/Sal112358)\
**Post date:** [September 18, 2022, 7:10am UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/9 "2022-09-18T07:10:54Z")

</div>

Thanks for the answer!

---

<div class="post-metadata">

**Author:** ![gavinknight](https://forum.obsidian.md/user_avatar/forum.obsidian.md/gavinknight/32/30490_2.png) [@gavinknight](https://forum.obsidian.md/u/gavinknight)\
**Post date:** [September 18, 2022, 8:42am UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/10 "2022-09-18T08:42:28Z")

</div>

```nohighlight
table file.mtime as "Last modified" where file.name != this.file.name SORT file.mtime DESC LIMIT 9

```

that Dataview query gives me a list of the 9 most recently edited notes in my vault, sorted with most recently edited first … note, it can only show you details of notes that still exist so won’t give you files that have been deleted … it also excludes the note in which it is contained

---

<div class="post-metadata">

**Author:** ![Sal112358](https://forum.obsidian.md/user_avatar/forum.obsidian.md/sal112358/32/33793_2.png) [@Sal112358](https://forum.obsidian.md/u/Sal112358)\
**Post date:** [September 19, 2022, 6:28pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/11 "2022-09-19T18:28:43Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![DannyUCB](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@DannyUCB](https://forum.obsidian.md/u/DannyUCB)\
**Post date:** [September 16, 2024, 9:04pm UTC](https://forum.obsidian.md/t/edit-history-in-obsidian/43581/12 "2024-09-16T21:04:33Z")

</div>

**Newbie looking for same.**

My Newbie Two Cents:

How about searching for everything;  
Use [Regex /.\*/](https://help.obsidian.md/Plugins/Search#Use+regular+expressions)

Then setting the [sort order of the results](https://help.obsidian.md/Plugins/Search#Change+result+sort+order)

to most recent Modified time (new to old), or:  
most recent Created time (new to old)

Is this effective and efficient?
