× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



What about -xdev? Been a while since I have used that parameter. Run from
/, assuming it is implemented, it skips all mounted file systems. So,
would skip QSYS.LIB. Would also skip QDLS and others. No way to tell it
which to skip.

John McKee

On Mon, Nov 10, 2014 at 8:18 PM, DrFranken <midrange@xxxxxxxxxxxx> wrote:

On 11/10/2014 6:13 PM, Jon Paris wrote:

Pity there’s not a way of telling it ignore QSYS - for one of the
directories I was looking for I had no idea where it was - all I knew was
that it _wasn’t_ in QSYS!


Jon Paris


Agreed. But the other alternative is to use the files generated by
RTVDIRINF in QUSRSYS. THen you can hit it with SQL and omit QSYS.LIB in
your query.

- Larry "DrFranken" Bolhuis

www.frankeni.com
www.iDevCloud.com
www.iInTheCloud.com



www.partner400.com
www.SystemiDeveloper.com

On Nov 10, 2014, at 5:49 PM, DrFranken <midrange@xxxxxxxxxxxx> wrote:

find . -name "*apt*" -exec ls -lad {} \;

You can replace the . with / but that will tell it to start at the top
of the root directory and will take "some minutes" as it will search
QSYS.LIB as well.

- Larry "DrFranken" Bolhuis

www.frankeni.com
www.iDevCloud.com
www.iInTheCloud.com

On 11/10/2014 4:01 PM, Jon Paris wrote:

I’m trying to locate a directory in the IFS with a specific name (or a
specific set of characters in the name).

The find command seemed to be what I I was looking for but it is not
working for me. According to some Unix sites the option I need to make it
case insensitive is iname like so:

find / -type d -iname "apt" -ls

But it is rejected in PASE (and QShell) as an invalid option.

Can anyone tell me what alternatives I can use? I only want
directories - not files.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.