Comment Comment by MaxBarraclough But the top answer has it:> find . -maxdepth 1 -type fA little clunky, but there's certainly no need to mess about in JavaScript land. If you use it often, create a shell macro. parent MaxBarraclough 6 years ago
> find . -maxdepth 1 -type f
A little clunky, but there's certainly no need to mess about in JavaScript land. If you use it often, create a shell macro.