Comment

Comment by MaxBarraclough

But the top answer has it:

> 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.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton