![]() |
| |||
| On Mon, 02 Oct 2006 02:42:12 -0400, Chris F.A. Johnson wrote this: > On 2006-10-02, noi wrote: > ... >> I think you could use >> >> find . -name '*.h' | xargs ls -l >> >> Find will traverse the "." current directory and all sub-directories, >> the "|" will pipe found files to an "ls -l" to list file attributes. > > There's no need for xargs: > > find . -name '*.h' -ls > > Or: > > find . -name '*.h' -printf '...' > > Where '...' is a format string (see the man page for details). Yes of course. I wasn't thinking. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |