Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help 1

Status
Not open for further replies.

YO123

MIS
Jul 26, 2001
77
BE
I am trying to get all the files with a certain name in the system.

No problem: find ./ -name "xxxx.x" -print

But the output is just the path with the filename.
I really would like to have also the size, date, etc.

Can anyone help me with this

tnx

YO
 
This should do the trick:

find / -name "***" -exec ls -l {} \;

and if you want to output this to a file:

find / -name "***" -exec ls -l {} \; > /tmp/output

Best of luck.

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top