|
Err... -x in Unix (freebsd, anyway) tells find not to cross mountpoints. In other words, it doesn't search in other diskdrives/partitions/etc I have no idea what that means in the iSeries world? (Maybe it scans root, but doesn't go into QOpenSys or QDLS??) Since this is the RPG programming forum, I recommend that you use opendir()/readdir() APIs to read the contents of a directory if you only need that one directory... You can find details in my IFS tutorial here: http://www.scottklement.com/rpg/ifs.html If you must do this from QShell, then you probably want to use ls. But, let's move this discussion to midrange-l if that's the case... On Tue, 23 Sep 2003, Peter Connell wrote: > Damn. The -x option doesn't work. > Whether I specify > find /wwwserv/tmp/java -name *.class > OR > find -x /wwwserv/tmp/java -name *.class > it still lists classes in sub-directories below /wwwserv/tmp/java >
As an Amazon Associate we earn from qualifying purchases.
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.