• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

'ls' command and globbing

there is an app:
https://play.google.com/store/apps/details?id=com.globbing.mobile

Just Kidding

i have no idea to be honest what globbing is, but i did find this link:
https://forum.nginx.org/read.php?29,251901
Many thanks. It will take a bit to wade through that but it looks promising.

Globbing is a tool when running commands that allows a form of filtering the command's output. 'ls' in Ubuntu allows you to use a switch (-I) which when invoked, allows you to exclude display of part of the listing output. In a directory where I have mixed files it allows using a string to avoid displaying all 300 files. I can do it with grep but the extra characters that I have to type '| grep -v <string>' gets old after doing a few hundred times a day. 'ls' in Android does not include the '-I' switch so right now I get to exercise the digits.

Thanks again.

Mel
 
  • Like
Reactions: ocnbrze
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones