Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #7106
| From | "Chris F.A. Johnson" <cfajohnson@gmail.com> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Case insensitive bash search? |
| Date | 2013-01-25 20:11 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <s3nbt9-ob2.ln1@cfa.johnson> (permalink) |
| References | <kdudlt$48h$1@speranza.aioe.org> <2t4bt9-gls.ln1@squidward.local.dionic.net> <kdv2s6$sl7$1@speranza.aioe.org> <rghbt9-oa9.ln1@squidward.local.dionic.net> |
On 2013-01-25, Tim Watts wrote: > On Friday 25 January 2013 23:01 Jon Danniken wrote in comp.os.linux.misc: > >> On 01/25/2013 12:01 PM, Tim Watts wrote: >>> On Friday 25 January 2013 16:59 Jon Danniken wrote in comp.os.linux.misc: >>> >>>> Hello, >>>> >>>> Is it possible to have the search of a folder with "ll" return all >>>> case-insensitive results? >>>> >>>> As an example, if I search for "*Foo*", I will only get files that have >>>> the capital "F", but not "foo". >>>> >>>> Is there any way to have results returned regardless of case? >>>> >>>> Thanks, >>>> >>>> Jon >>> >>> find -iname ... -maxdepth 1 >>> >>> Or do you *really* want to do it in the shell? >> >> Thanks Tim. My reason for trying to do this in the shell (as opposed to >> in a file manager) is because I have some folders with a lot of files in >> them (thousands to tens of thousands), and my file manager (Dolphin - >> KDE) often has problems at times with folders that big. >> >> I find that using the shell is a *lot* quicker than the file manager, >> and very noticeably so when interacting with one of these >> "high-capacity" folders. > > I really meant "are you obsessed with not exec-ing other command binaries"? > That could be a valid concern on a crappy little embedded system, but not > usually a problem on a normal system It can be important on any system. If all the processing can be done by a single call to an external command, that's fine, but if it has to be called in a loop, it can make a vast difference to the time it takes. Since snippets of code are often incorporated into larger scripts, inefficiences arfe magnified. -- Chris F.A. Johnson, <http://cfajohnson.com> Author: Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress) Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar | Unroll thread
Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 08:59 -0800
Re: Case insensitive bash search? Robert Heller <heller@deepsoft.com> - 2013-01-25 11:44 -0600
Re: Case insensitive bash search? gazelle@shell.xmission.com (Kenny McCormack) - 2013-01-29 13:56 +0000
Re: Case insensitive bash search? Wayne <nospam@all.invalid> - 2013-01-29 12:41 -0500
Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-25 17:59 +0000
Re: Case insensitive bash search? Lew Pitcher <lpitcher@teksavvy.com> - 2013-01-25 13:13 -0500
Re: Case insensitive bash search? Lew Pitcher <lpitcher@teksavvy.com> - 2013-01-25 13:23 -0500
Re: Case insensitive bash search? Richard Kettlewell <rjk@greenend.org.uk> - 2013-01-25 19:48 +0000
Re: Case insensitive bash search? ray carter <ray@zianet.com> - 2013-01-25 20:45 +0000
Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 14:58 -0800
Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 15:28 -0800
Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 16:14 -0800
Re: Case insensitive bash search? Robert Heller <heller@deepsoft.com> - 2013-01-25 19:04 -0600
Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-26 06:51 +0000
Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-26 06:47 +0000
Re: Case insensitive bash search? unruh <unruh@invalid.ca> - 2013-01-26 16:36 +0000
Re: Case insensitive bash search? Tim Watts <tw+usenet@dionic.net> - 2013-01-25 20:01 +0000
Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 15:01 -0800
Re: Case insensitive bash search? Tim Watts <tw+usenet@dionic.net> - 2013-01-25 23:36 +0000
Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-25 16:09 -0800
Re: Case insensitive bash search? Tim Watts <tw+usenet@dionic.net> - 2013-01-26 11:21 +0000
Re: Case insensitive bash search? Jon Danniken <jonSPAMdanniken@yaSMPAhoo.com> - 2013-01-26 15:14 -0800
Re: Case insensitive bash search? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2013-01-25 20:11 -0500
csiph-web