If you edit a file in an external editor whilst open in Logseq, Logseq would make a backup of its copy (in memory) into the logseq bak folder:
This was especially useful for version control, as the entire
bak folder can be ignored.
Since the update to Logseq,
0.6.2, this has changed.
Now each backup file is saved into either:
These backup files have different file extensions, such as
.705Z, see these examples:
/pages/abcd.md.2022-03-10T11_53_08.015Z /journals/2022-03-10 Thursday.md.2022-03-10T11_55_47.705Z
This make it much hard to manage/exclude these backup files via
My solution right now is to add these lines to my
*.md.2022-* *.edn.2022-* *.js.2022-* *.css.2022-*
I did not want to use
*.2022-* as a rule because it catches legit files.
My OS is Windows 10.