Report: File and Directory List Input Mode |
Option: -F |
Compatible Options: RSM Option Cross Reference |
Usage: rsm -O report.htm -o -F filelist.txt |
Source: C, C++ and Java |
This input mode will process files and directories from a list. This mode is useful for performing a discrete set of file metrics. The list must be a text file with compliant the specified format. The -RL mode can be helpful in
creating the file list. Lines within the file beginning with the #
sign will be considered as comments. File Format: Files must be the complete path and file name. i.e. c:\project\src\vertex.java /proj/source/geom.cpp Directory Format: Directories must the the full path. The following parameters to the directory are required for descent of the directory. -r Recursive descent of the directory -n No Recursive descent c,h,cpp Types string tells RSM which kind of files directory Starting point for processing i.e. -r java /proj/java/source -n h,cpp /proj/cpp/source |
# Example filelist.txt # Lines starting with # are comments # blanks lines are ok to use # Process Directories with recursive decent -r h,cpp d:\src\seahunt # Process just the directory no recursice descent -r -d java d:\src\rolodex # Process Indiviual Files d:\src\timer\timer.h d:\src\timer\timer.cpp # No wild cards are valid in this mode |