ADSM-L

[ADSM-L] counting files in directories for a node

2017-11-16 10:18:49
Subject: [ADSM-L] counting files in directories for a node
From: "Lee, Gary" <glee AT BSU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 16 Nov 2017 15:17:59 +0000
Tsm server 7.1.7.100

I have a request to count the number of files in each directory on the e: drive 
for a node.
For output, path name, and file count.

Any pointers on where to start?

I can do it given a specific path,

Select count(*) from backups where node_name=bla and hl_name=bla and type='FILE'

How to extend this to all dirs. In a filespace?

Thanks for the help.

<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by KimLaw, PLLC