Initial import
This commit is contained in:
parent
eea47e04c5
commit
bc14b1b756
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user