back

by madprops·6y ago·view on hn ↗
Not sure what you mean about filenames as arguments, how would a filename be listed?

Added regex support for --filter. For instance --filter=re:\\d+

You mean something like what tree displays? Or just to count the items in the directory?

1 comments
> Not sure what you mean about filenames as arguments, how would a filename be listed?

Just the name of the file, like ls. Typing lq file.txt and display nothing looks like the file doesn't exist.

> Added regex support for --filter. For instance --filter=re:\\d+

God, you are fast! Thank you!

> You mean something like what tree displays? Or just to count the items in the directory?

Forget this silly thing. I tried using find and worked perfectly:

$ find . -type d -exec echo -e "\n$ lq {}" \; -exec lq {} \;