I've been also using EDTF and option 6 is Path size which gives me what I want but it takes a long time to run and creates locking issues and it only runs interactively.

du -m .

-----Original Message-----
From: DrFranken <midrange@xxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Mon, Apr 18, 2011 4:53 pm
Subject: Re: QSH help

Getting the size is strightforward. While in the directory in QSH or
P2TERM simply enter du -m . The last number listed is the number
f MB used by the directory and all directories below.
File counts can be had with ls -lR | wc -l
- Larry "DrFranken" Bolhuis

n 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
ecided to put the data back on the i and in the IFS (some good news for a
hange). The data is in one directory but in dozens of sub directories of that
irectory. How could I use QSH to total up the number of objects in the sub
irectories and the total size of the objects? I haven't been asked for details
n the names and sizes of each object so if I could get a grand total of the
umber of objects and a grand total of the size of the objects that would
uffice for now.
As always, any info/help appreciated.
Thanks, Frank

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

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].