4 ms·
> Someone even wrote a nodejs tool for this functionality Coming from a more low level background but doing front end development from time to time, I am alway
by Galanwe 6y ago
> Someone even wrote a nodejs tool for this functionality
Coming from a more low level background but doing front end development from time to time, I am always amazed by the sheer amount of seemingly useless javascript reimplementations of what would be bash one liners.
For your question, how about
"find <dir> -type f - maxdepth 1" ?
You can put that in an alias or script in your path