Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Ability to import folders / directories #39

Open
pabloportugues opened this issue Jul 7, 2021 · 2 comments
Open

Ability to import folders / directories #39

pabloportugues opened this issue Jul 7, 2021 · 2 comments

Comments

@pabloportugues
Copy link

Hey 馃憢 Thank you first of all for the great work you've done with this tool!

I managed to get it to work, but it lacked something which is quite particular to my use case, that is, I've markdown files distributed in a folder structure (like a tree structure), so when I try to import, I get an error stating that I'm specifying a directory.

Question then is: is there a way I could import a directory?

An example structure:

  • main folder
    • file1.md
    • file2.md
    • sub-folder
      • file3.md
      • sub-folder
        • file4.md
@Cobertos
Copy link
Owner

Cobertos commented Jul 7, 2021

Currently there is not a way to do this.

If you want to upload a whole directory w/ nested pages, you'd have to walk the filesystem tree and upload pages in a recursive way (directories mapping to blank pages, .md files or a glob or whatever mapping to nested pages)

@Vadorequest
Copy link

I'd need the same feature, pretty common use case when importing stuff :/

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

No branches or pull requests

3 participants