Categories Coding Bash One-Liner To Generate MD5s for Artifacts Post author By Rory Winston Post date September 8, 2006 I’m putting this here so I don’t forget it…a quick one-liner to generate hashes for all artifacts created by a Maven build: $ for distfile in $(ls *.{jar,zip,gz,bz2}); do md5sum $distfile > $distfile.md5; done ← Executing Ant tasks from Maven 2 → Web Retrieval With Ruby