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



Getting the size is strightforward. While in the directory in QSH or QP2TERM simply enter du -m . The last number listed is the number of MB used by the directory and all directories below.

File counts can be had with ls -lR | wc -l

- Larry "DrFranken" Bolhuis


On 4/18/2011 4:21 PM, fbocch2595@xxxxxxx wrote:

Hi Folks, we had moved data off our IBMi but in a nice turn of events we've decided to put the data back on the i and in the IFS (some good news for a change). The data is in one directory but in dozens of sub directories of that directory. How could I use QSH to total up the number of objects in the sub directories and the total size of the objects? I haven't been asked for details on the names and sizes of each object so if I could get a grand total of the number of objects and a grand total of the size of the objects that would suffice for now.
As always, any info/help appreciated.
Thanks, Frank




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.