mindforger icon indicating copy to clipboard operation
mindforger copied to clipboard

[docs] how to import existing directories

Open FlorianHeigl opened this issue 4 years ago • 3 comments

the docs epxlain how to open an existing directory and edit the markdown files in there. what i've still not figured after several months and attempts at reading everything, is how to integrate / import an existing directory with markdown files.

it's there, has 100s of files and i can access it, and add new notebooks using mindforger. but since it's not a repository, i cannot use tags etc. (i tried, and they didn't get saved and it was sad) the puzzling part is how to get from directory to repository.

Surely someone else has done that and can explain maybe? I'll gladly prepare a doc PR explaining the process for others - if someone can help me understand this.

FlorianHeigl avatar Jul 13 '21 14:07 FlorianHeigl

Hi,

The way I've been able to do it is manually but I didn't have 100s of files. I performed the following:

  • Created a new repository
  • Closed Mindforger
  • Removed the default documents
  • Copied the markdown files into the memory sub folder within the repository
  • Added the mindforger metadata from a test file. Changing the notepad and notes names as appropriate
  • Opened Mindforger to test

I am sure that this could be scripted to improve.

Using Windows 10 and MF 1.53.0

Iznik285 avatar Jul 14 '21 11:07 Iznik285

Thank you! So i guess if i try to script this step

  • Changing the notepad and notes names as appropriate

it would be 'good enough' and also re-usable. I'm gonna check it out.

FlorianHeigl avatar Jul 14 '21 11:07 FlorianHeigl

I think that makes sense. Let us know how you go.

Iznik285 avatar Jul 14 '21 11:07 Iznik285