Colin Watson wrote:

> On Mon, Jan 05, 2004 at 05:50:08PM +0100, VEGH Karoly wrote:
> > On Mon, Jan 05, 2004 at 10:42:28AM -0600, Rick Weinbender wrote:
> > > Is there a way to format the screen output of the above command so
> > > that I see all the file information (as in "ls -al"), which yields
> > > file and directory attributes, dates, owner, etc.
> >
> > use the force, luke!
> >
> > [EMAIL PROTECTED]:~$ mkdir test
> > [EMAIL PROTECTED]:~$ cd test
> > [EMAIL PROTECTED]:~/test$ touch 1 2 3 a b c
> > [EMAIL PROTECTED]:~/test$
> > [EMAIL PROTECTED]:~/test$ find . -name "*[123]*" -exec ls -l {} \;
>
> Or simply:
>
>   find . -name '*[123]*' -ls
>
> Cheers,
>
> --
> Colin Watson                                  [EMAIL PROTECTED]
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

****************************
>find . -name '*[123]*' -ls

Very concise!
Also the output justs lists the directory. (doesn't include the files in it.)
Thanks,
-Rick



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to