Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

when using MD5 i get a text file output of the full path to the file and file name and then space and the hash.

wondering if there's a way omit the path and just have filename = hash

using terminal via automator

find "$1" -type f -print0 | xargs -0 md5 > "$2/MD5_Digest.md5"
share|improve this question

migrated from Dec 24 '12 at 4:31

This question came from our site for professional and enthusiast programmers.

Use the -q command-line switch to make the output "quiet"

$ md5 -q my_file_to_test
share|improve this answer

You must log in to answer this question.