Re: Stupid question: why "find" command does not work?
From: mfarner (slan.netw.wwws_at_dfgh.net)
Date: 07/23/04
- Next message: Mauro G.: "char-major"
- Previous message: d: "Getting The dnet Codec Functioning In RealPlayer 10"
- In reply to: gino: "Stupid question: why "find" command does not work?"
- Next in thread: Jeffrey J. Kosowsky: "Re: Stupid question: why "find" command does not work?"
- Reply: Jeffrey J. Kosowsky: "Re: Stupid question: why "find" command does not work?"
- Reply: Tommy Reynolds: "Re: Stupid question: why "find" command does not work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jul 2004 04:14:37 -0700
"gino" <mizhael@yahoo.com> wrote in message news:<cd74ka$mus$1@news.Stanford.EDU>...
> Hi all,
>
> Here is the problem: I am looking for a file "untitled.m" using "find"
> command:
>
> If I type:
>
> >>find . -name untitled.m
>
> it gives the correct result:
>
> >>./aaa/bbb/ccc/untitled.m
>
> but if I type:
>
> >> find . -name *untitled*
>
> it gives the wrong result:
>
> >> find: No match
>
>
>
> Anybody knows why? Thanks a lot,
>
> -Gino
Here's a function I savagely stole from somewhere,
advanced-bash-scripting I think. It goes in your .bashrc
or similar file.
It searches from the current directory,
and is case insensitive and seems to work with anything.
# example ff rEaDmE
function ff() { find . -iname '*'$1'*' ; }
some more linux tips and rpm building help at
http://www.freewebs.com/specfiles/
no cookies, no counters, no nothing. as far as I know,
I'm the only one who has visited my site, except for the
few who complain about the colors.
- Next message: Mauro G.: "char-major"
- Previous message: d: "Getting The dnet Codec Functioning In RealPlayer 10"
- In reply to: gino: "Stupid question: why "find" command does not work?"
- Next in thread: Jeffrey J. Kosowsky: "Re: Stupid question: why "find" command does not work?"
- Reply: Jeffrey J. Kosowsky: "Re: Stupid question: why "find" command does not work?"
- Reply: Tommy Reynolds: "Re: Stupid question: why "find" command does not work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|