Link to home
Start Free TrialLog in
Avatar of bt707
bt707Flag for United States of America

asked on

Find command

I have this command, it finds the number of files in a directory and it's sub directories however there is a lot of files in the sub directories that end in   .tmp and I need
to get the total number of files that is in all sub directories together but Not counting the files that end in   .tmp

Command:

find /opt/iplanet/ms5/mail/imta/queue/conversion/ -type f | wc -l



Thanks,
ASKER CERTIFIED SOLUTION
Avatar of gripe
gripe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bt707

ASKER

Thanks again gripe, don't know how you do that so fast but worked great and was a really fast answer, hardly even got time to refresh the page.


Thanks again
Avatar of gripe
gripe

Props to ameba's QuickPost :)