On 01/11/2017 07:44 PM, Pew, Curtis G wrote:
I would be surprised if anything you put together like this would perform any 
better than `find’. Searching large Unix directories is typically pretty slow 
no matter how you go about it. (If you’re still using HFS that’s probably 
particularly true; I understand that zFS directory searches are faster.)

Yes, I think any other method would suffer the same performance limitations as find. The advantage of find is that (from memoy) it is smart enough to tell you where it found each file, while something like ls -R ... | grep ... is liable to give you a list of filenames with no information about their actual location.

This question does illustrate why I dislike the IBM suggestion of individual automounted home directories so much - if your search includes automounted directories, every single one must be mounted. If you reckon directory seaches are slow, try HSM recalling filesystems one at a time...

--

Andrew Rowley

Black Hill Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to