79604316

Date: 2025-05-03 02:37:56
Score: 1
Natty:
Report link

You could use the io.popenfunction to run a OS command, in linux you can run ls -1 then get the output of the executed command.

local files = io.popen("ls -1")

the -1 is to list only the file names per line

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Migue Magic