mktree

An s-expression-based scripting language for generating boilerplate directories and files

Basic Usage

Create a file layout.tree with these contents:

(dir "%(name)"
    (@perms 0666)
    (file "%(name).txt"
        (@perms 0755)))

Then run:

mktree layout.tree -vars=name=example

This will create example/example.txt in the current directory.

GitHub

View Github