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 )
|
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() )
|
||||||
|
Loading…
Reference in New Issue
Block a user