Re: Find command to display attributes
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!
>
> charlie@marvin:~$ mkdir test
> charlie@marvin:~$ cd test
> charlie@marvin:~/test$ touch 1 2 3 a b c
> charlie@marvin:~/test$
> charlie@marvin:~/test$ find . -name "*[123]*" -exec ls -l {} \;
Or simply:
find . -name '*[123]*' -ls
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: