Evan's posterous

Adventures in pomodoro and other such things

« Back to posts
  • Viewed
    times

Filed under

  • linux
  • mac
  • maven
July 26, 2007

create md5 hash files for a maven repo

  • Edit
  • Delete
  • Tags
  • Autopost

Use this command to generate .md5 hash files for all of the libraries in your maven repository, on mac:

find -E . -regex ".*(\.jar|\.pom)$" -exec sh -c "/sbin/md5 -q '{}' > '{}.md5'" \;

on linux try this:

find . -regextype posix-extended -regex ".*(\.jar|\.pom)$" -exec sh -c "/usr/bin/md5sum '{}' > '{}.md5'" \;

  • 0 responses
  • Like
  • Comment