2 ms·
The equivalent of "dir *.txt /s" in UNIX is "ls -R|grep txt$".
by AndyMcConachie 11y ago
The equivalent of "dir *.txt /s" in UNIX is "ls -R|grep txt$".
- nunobrito 11y agoI find that syntax "good enough" for my own usage. YMMV when considering it outputting not just files with txt as extension, but also somewhere on its name. Someone else mentioned a workaround by adding the escaped dot in order to be fully equivalent to the dir syntax.