On Nov 1, 2017, at 12:34 PM, Lizette Koehler <[email protected]> wrote:
> 
> So I am not very good with Unix, and now I need to find any file in a large
> number of directories one directory has 130 directories with the tail .new 
> (yep
> clean up time)
> 
> So in OMVS I know the find / -name \*.new could work.  But with the number of
> directories I have to search it is not performing
> 
> I am thinking there could be a REXX in Unix written to do this.  ls -al and 
> then
> search through the output
> 
> Maybe even using a grep.
> 
> But with so many of you other there with really awesome UNIX skills, what 
> should
> I, a novice, look at to be good performing, could be run in batch (Yep like 
> that
> option) or produce a report in a file I can find that will show me all the 
> files
> in all the directories that have the tail I am looking for.

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.)

-- 
Pew, Curtis G
[email protected]
ITS Systems/Core/Administrative Services


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

Reply via email to