I received this find command from an IBMer (Bill Schoen maybe). It will
list all of the files and directories contained in a physical HFS/zFS.
It only lists objects within a single MVS dataset. I use it to determine
who is using space within my root HFS:
The command I have come up with is:
find <dir> -xdev -type d -exec echo '\n\nDir= ' {} \; -exec ls -la {} \;
Where <dir> is the mountpoint for the mounted filesytem you want
to generate the report on.
-xdev don't cross filesystem boundaries
-type d only hit on directories
-exec These two exec statements will output the directory name
followed by the directory contents.
If you wish to redirect the output from this command to a file,
all you need to do is to append ' > /tmp/datasetname.out ' to the
of the command. This will redirect the output to the file
/tmp/datasetname.out . You can use any filename you wish, but
you might want to give the output file a name to identify the
dataset you are doing the find against.
Jon L. Veilleux
[EMAIL PROTECTED]
(860) 636-2683
This e-mail may contain confidential or privileged information. If
you think you have received this e-mail in error, please advise the
sender by reply e-mail and then delete this e-mail immediately.
Thank you. Aetna
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html