Hi, Tim:

The man-page equivalent for find in QSH is available within the QSHELL reference for your version of OS (at publib.boulder.ibm.com).

Here is one approach I don't don't like because it's messy and I'm loathe to throw away error messages. I wrote my own RPG version:

find. -type d -exec rmdir {} \;

One could throw error messages to a file or to the bit bucket, of course, but I don't recommend that.
++
Dennis
++
"The louder he talked of his honor, the faster we counted the spoons."
-- Ralph Waldo Emerson


Sent from my Galaxy tablet phone. Please excuse my brevity.
For any grammatic/spelling errors, there is no excuse.
++


"tim.dclinc@xxxxxxxxx" <tim.dclinc@xxxxxxxxx> wrote:

I am try to use the following command to remove empty directories in
the
IFS:

find . -type d -empty

But it says "-empty" is not valid.

I am on V5R4.
--
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.