LuaFileSystem - File System Library for Lua
Copyright 2003-2017 Kepler Project
LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.
LuaFileSystem offers a portable way to access the underlying directory structure and file attributes. LuaFileSystem is free software and uses the same license as Lua 5.x (MIT).
luarocks install luafilesystem
Please check the documentation at doc/us/ for more information.