Directory Search

Simple showcase application, written according to TDD methodology. The appliction is run from CLI and searches for files that fullfil given criteria. It comes with search.sh shell script file.

The application makes use of the following tools / libraries:

  • java.nio package (traversing directories, matching files) introduced in Java 7
  • Maven
  • JUnit
  • Mockito

Running

If there is a need to:
chmod +x search.sh

Type from CLI:
./search.sh to display usage.

The script takes care of building, i.e. if there is no jar file, mvn install command is run.

Requirements

Java 7 or newer
Maven, version 2.x.x should be sufficient.