Archive files (e.g: photos albums, ...) in ZIPs, respecting directories. Create/update ZIP only if more 3 files in directory.
Create binary distribution files-archiver-x.y.z-bin.zip : mvn install
Extract it and use it with this usage:
java -jar files-archiver-x.y.z.jar inputDirectory outputDirectory fileType1,fileType2 [patternForbidden1,patternForbiddenX]
Sample for photos albums :
java -jar files-archiver-x.y.z.jar /inputDir/albums/ /outputDir/archives/ jpg,gif,avi,mov,mpeg,mp4 __thumb,__small