Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Tim Watts Newsgroups: comp.os.linux.misc Subject: Re: Case insensitive bash search? Date: Fri, 25 Jan 2013 20:01:06 +0000 Organization: A noiseless patient Spider Lines: 24 Message-ID: <2t4bt9-gls.ln1@squidward.local.dionic.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Info: mx04.eternal-september.org; posting-host="dd2508c22eed1dea2207b304d5543ebf"; logging-data="22079"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zJV3YGr+0L6reaE291m4jZjJED8E90cE=" User-Agent: KNode/4.8.5 Cancel-Lock: sha1:U4ewpS80daY4x+/oyuT7pWWy85E= Xref: csiph.com comp.os.linux.misc:7097 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? -- Tim Watts Personal Blog: http://www.dionic.net/tim/ "A fanatic is one who can't change his mind and won't change the subject."