How to use [io.file.list-recursively]

The reference page of io.file.list-recursively has its arguments, constraints and declaration.

This slot works like [io.file.list], except it also returns all files inside of nested folders, at any depth, and not only the files directly inside of the specified folder. It returns one unnamed child node per file, with the file’s path relative to the root folder of your backend, and accepts the following optional arguments.

  • [display-hidden] - Boolean, defaults to false, which hides files starting with a .
  • [display-system] - Boolean, defaults to true, and if false hides files inside of “/system/”, “/misc/”, “/data/” and “/config/”

This slot lists every file in a folder and in all of its subfolders, as child nodes holding the path of each file. Files whose names start with a dot are left out unless you set [display-hidden] to true, and you can leave out the files in the “/system/”, “/misc/”, “/data/” and “/config/” folders by setting [display-system] to false. Below is an example.

io.file.list-recursively:/misc/