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 ) local function parse_one_level( path )
for myfile in lfs.dir(path) do for myfile in lfs.dir(path) do
if myfile ~= "." and myfile ~= ".." then
local attr = lfs.attributes (myfile) local attr = lfs.attributes (myfile)
if attr.mode == "directory" then if attr.mode == "directory" then
print("Entering sub folder : ", myfile) print("Entering sub folder : ", myfile)
@ -16,6 +17,7 @@ local function parse_one_level( path )
os.execute( fullcmd ) os.execute( fullcmd )
end end
end end
end
end end
print("Starting ...", os.date() ) print("Starting ...", os.date() )