The service is probably the best way to go. But there is another way, maybe.

Use EDTF on the parent of the directory - that's the same as option 2 in WRKLNK.

In EDTF you have several options - 6 will tell you the number of files and total size. It might take a while, of course, and the service might be faster.

You can also open to the directory in Windows explorer from a mapped network drive. You get the count directly when viewing a directory, it might also have the total size, I am not sure.

In Windows explorer, again, if you are in the parent directory, right-click on the directory and select Properties - eventually you'll have what you want.

Regards
Vern

On 3/25/2022 7:09 PM, Jack Woehr via MIDRANGE-L wrote:
Db2 for i Services to the rescue: IFS_OBJECT_STATISTICS table function
<https://www.ibm.com/docs/en/i/7.3?topic=services-ifs-object-statistics-table-function>

Sum the ALLOCATED_SIZE column.

On Fri, Mar 25, 2022 at 5:14 PM Jerry Draper <midrangel@xxxxxxxxxxxxx>
wrote:

I have a directory on the IFS that has some 1,158,058 files varying in
size.

Mgmt wants to know how total GB of files in this directory.




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