# File system folders from text, via Excel

> Video: a simple way to create file system folders from text. In this case we create a Johnny.Decimal structure from MindNode.

On the forum, [Kelso asks](https://forum.johnnydecimal.com/t/creating-a-folder-structure-from-mindnode/1624):

> How do I change my MindNode into a folder structure onto my computer?

Great question, best answered with a video.

<YouTube id="lD77d5v7go0" />

## Excel sheet

You can <a href="/blog/0067-file-system-from-mindnode-via-excel.xlsx">download the sheet from the video here</a>.

### Formulas

### Fill the column

`=IF(C5<>"", C5, D4)`

### Create a file path, 'escaping' spaces with a backslash

`=IF(G7="", "", SUBSTITUTE(CONCAT(D7, "/", F7, "/", G7), " ", "\ "))`

### Create the mkdir -p command

`=IF(H7="", "", CONCAT("mkdir -p ", H7))`

### Create the echo command to create text files

`=IF(G7="", "", CONCAT("echo # ", G7, " > ", SUBSTITUTE(G7, " ", "\ "), ".txt"))`