See how well I understand Unix? ;-O Yes - what you wrote - I have a directory with a huge bunch of directories under it
Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Don Poitras > Sent: Wednesday, November 01, 2017 1:15 PM > To: [email protected] > Subject: Re: Help with a Unix process > > Probably a silly question, but are you really searching from the root, or > doing something like: > > find /The/Actual/Parent/Dir/I/Am/Looking/At/ -name '*.new' > > In article <[email protected]> you 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. > > Thanks > > Lizette Koehler > > -- > Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive > [email protected] (919) 531-5637 Cary, NC 27513 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
