Specifying the File Analytics Folder Depth
  
Version 10.1.01
Specifying the File Analytics Folder Depth
A parameter, Dfa.export, is available to specify folder depth for File Analytics.
To specify the folder depth for the report summary, add the following parameter when executing the command
-Dfa.export.folderDepth=x where "x" is the depth. By default the depth is set to 1.
To turn off reporting on parents, add the following parameter when executing the command
-Dfa.export.includeParents=No. By default reporting on parents is turned on.
To specify the name of the output file use -Dfa.export.reportFileName=SomeReportName.csv. If this parameter is not specified the default output file will be report.csv.
For example:
java -classpath /opt/aptare/portal/WEB-INF/lib/*:/opt/aptare/portal/WEB-INF/classes/
-Dfa.export.folderDepth=2 -Dfa.export.includeParents=No com.aptare.sc.service.fa.FaSubDirectoryReport
Sample Directory Structures and Results
As an example, the table that follows, uses these directory structures to show the results of different parameter values:
D1
D1/SD1
D1/SD1/SD2
D2/SD3
D3
This table illustrates the expected results given the different parameter values:
fa.export.folderDepth
fa.export.includeParents
Directories Included in Report
1
N/A
D1
D2
D3
2
N/A
D1
D1/SD1
D2
D2/SD3
D3
3
No
D1/SD1
D1/SD1/SD2
D2/SD3
D3