luafilesystem icon indicating copy to clipboard operation
luafilesystem copied to clipboard

mkdir -p option

Open adamist521 opened this issue 10 years ago • 3 comments

Current mkdir only supports single depth directory creation. Enable options to create parent directory as well?

adamist521 avatar Dec 16 '15 05:12 adamist521

10 years later... I still find myself in need of this

zeerooth avatar Jun 16 '25 23:06 zeerooth

fwiw, this is available in Penlight; https://lunarmodules.github.io/Penlight/libraries/pl.dir.html#makepath (which uses lfs under the hood)

Tieske avatar Jun 20 '25 08:06 Tieske

@Tieske That works, thanks! I don't know how I missed that penlight exists before

zeerooth avatar Jun 21 '25 20:06 zeerooth