--- a/main.lua Tue Sep 11 23:51:37 2018 +0100 +++ b/main.lua Wed Sep 12 10:56:51 2018 +0100 @@ -92,7 +92,7 @@ end local path = assert(get_value(), "path expected for '-d'"):gsub("/*$", ""); for f in lfs.dir(path) do - if f:sub(1,1) ~= "." then + if f:sub(1,1) ~= "." and f:sub(-4) == ".scs" then table.insert(files, path.."/"..f); end end