Extracting first-level folder size information from the APTARE File Analytics

Extracting first-level folder size information from the APTARE File Analytics

Article: 100048507
Last Published: 2020-09-29
Ratings: 0 0
Product(s): APTARE IT Analytics

Description

To extract the first-level folder size information from the File Analytics database:

  1. At the Linux command prompt, run the following command:

java -classpath /opt/aptare/portal/WEB-INF/lib/*:/opt/aptare/portal/WEB-INF/classes/ -Dfa.export.includeParents=No com.aptare.sc.service.fa.FaSubDirectoryReport

 

Suggest creating a folder in which you want to execute this command as the outputs will be created in your working directory.

This generates an output file:  report.csv

It will also create a ‘s:/logs/bantam.log’ file

 

Output format of the report.csv file:

             Server Name, Volume Name, Folder name, Size in GB, Last Modified

Where:

Folder name: The root-level folders in the volume

Size in GB: Sum of all the file sizes in the folder (recursively)

Last Modified: Maximum modified time stamp from within all the files in the folder (recursively)

Was this content helpful?