Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deletes file creation date #9

Open
rookbreezy opened this issue Mar 2, 2023 · 4 comments
Open

Deletes file creation date #9

rookbreezy opened this issue Mar 2, 2023 · 4 comments

Comments

@rookbreezy
Copy link

rookbreezy commented Mar 2, 2023

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.

@bernardoamc
Copy link
Owner

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. :)

@rookbreezy
Copy link
Author

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

@bernardoamc
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants