Top > Research > Tools > java_file_list_maker

java_file_list_maker

Summary

java_file_list_maker.sh is a shell script to print pathes of all java source files which are in the current directory or its subdirectories, except for test progrmas, sample programs and documents.

Note: this script runs the following shell commands.

find -type f -name "*.java" | \
 grep -iv '/systests/' | \
 grep -iv '/test/' | \
 grep -iv '/testing/' | \
 grep -iv '/tests/' | \
 grep -iv '\-test/' | \
 grep -iv '/demo/' | \
 grep -iv '/sample/' | \
 grep -iv '/samples/' | \
 grep -iv '/documentation/' | \
 grep -iv '/example/' | \
 grep -iv '/examples/' | \
 grep -iv '/template/' | \
 grep -iv '/templates/' | \
 grep -iv 'Test.java' | \
 grep -iv 'Tests.java' | \
 grep -iv '/package-info.java$/' | \
 grep -iv '/.mvn/' | \
 grep -iv '^\.'

Downlowad

Usage

 bash  java_file_list_maker.sh
(C) Copyright 2015 - 2021 Hirohisa AMAN