Initial import

This commit is contained in:
sladecraven 2021-02-01 18:29:17 +01:00
parent eea47e04c5
commit bc14b1b756

View File

@ -5,6 +5,7 @@ local cmd = 'stl-thumb'
local function parse_one_level( path )
for myfile in lfs.dir(path) do
if myfile ~= "." and myfile ~= ".." then
local attr = lfs.attributes (myfile)
if attr.mode == "directory" then
print("Entering sub folder : ", myfile)
@ -17,6 +18,7 @@ local function parse_one_level( path )
end
end
end
end
print("Starting ...", os.date() )
parse_one_level(rootpath)