An utility which compares two directories and creates new directory with a difference.
master implements main functionality of the application: generating a two-directories difference in the third directory.
multithreaded branch contains a simple thread pool implementation in order to make copying of the files faster. It actually works (a bit), (39,... milliseconds on single-threaded version against the 34,... milliseconds on multithreaded version on 500 directories in each first and second directories, resulting into the 500 directories in the result dir).
mvn clean install
or mvn clean package
takingdirdiff-1.0.0-shaded.jar
dirdiff-1.0.0.-shaded.jar firstDirectory secondDirectory resultDirectory
where the firstDirectory
and secondDirectory
are directoriws, which are compared to each other, and the resultDirectory
is the directory with the result (difference between two directories).