obsidian_bear icon indicating copy to clipboard operation
obsidian_bear copied to clipboard

Deletes file creation date

Open rookbreezy opened this issue 1 year ago • 4 comments

To reproduce, clone the repo, run the script on the included test data. For notes put into folders, the creation date is nuked.

For others reading this, if you only need folder grouping, and you have a not-huge amount of tags. Bear lets you export notes by tag, one by one: https://bear.app/faq/Import%20&%20export/Export%20your%20tags/

It can be done fairly quickly with: click tag then cmd + shift + s then enter for each tag. (Remember untagged notes the same way.)

And then, if needed, the script can be run on each folder. Since now no new folders will be created.

rookbreezy avatar Mar 02 '23 18:03 rookbreezy

Thanks @coding-camel! This makes sense, I opted to create a new folder instead of modifying the Bear archive.

That being said I will play a bit with the code and see if I can maintain the same file metadata. :)

bernardoamc avatar Mar 02 '23 21:03 bernardoamc

@bernardoamc Thats nice, I would also be okay with just adding a warning to the readme.

rookbreezy avatar Mar 02 '23 21:03 rookbreezy

We can do both! I will update the README while I investigate and if I figure out how to keep the file metadata I can remove the warning. 👍

bernardoamc avatar Mar 02 '23 21:03 bernardoamc

I've added it to the https://github.com/bernardoamc/obsidian_bear#caveats section for now.

bernardoamc avatar Mar 02 '23 21:03 bernardoamc