'nushell: list all files recursively [closed]

How can I list files recursively with the nu shell?

More specifically: All files, folders and everything else in a specified folder and every inner folder, recursively.

  1. I tried ls **, but that does not work.
  2. I googled, found ls **/**.rs on Coming from Bash and tried ls **/*. That seemed to work, but I had to learn the hard way that it lists only some files, not all. I don't know why. But I found an example where ls **/* | where name =~ 'xxx' found less than ls **/*xxx*. (I thought about including my example here, to show what is listed and what not. But the folder structure is too huge.)
  3. I cannot use ls **/*xxx* as I do not want to filter by name every time. Sometimes I need to filter only by other columns.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source