Operating System - HP-UX
1753532 Members
6046 Online
108795 Solutions
New Discussion

Re: What's wrong with this FIND command?

 
SOLVED
Go to solution
Don Bentz
Regular Advisor

Re: What's wrong with this FIND command?

Sundar, that is correct. The filenames returned are in $DATADIR, not in a subdirectory.

BTW. I don't want to consume any more of your (collectively) time on this, so...
Thanks again.
Insecurity is our friend. It keeps you dependent.
Dennis Handly
Acclaimed Contributor

Re: What's wrong with this FIND command?

>the reason to use xargs instead of exec is right in the man page for find:

 

There is no need to use xargs when you can use the even faster -exec ... +:

find $DATADIR ! -group oradvlp -exec  ls -ld {} +